Revert "change require() into requireNamespace()"

This reverts commit 000f0f3dcd7b597fc41239b535fa8be4dd41ff37.