Creates a boilerplate package test file.

pkg_test(pkg_root, msg = "test_z.R file path:")

Arguments

pkg_root

Character string. Package root directory.

msg

Character string. Optional message. If supplied, prints msg dir/fn.

Details

Note that if pkg_create() is used, this function will be called.

Author

Ivan Jacob Agaloos Pesigan

Examples

if (FALSE) { pkg_test( pkg_root = "~/boilerplatePackage" ) }