Creates a boilerplate package test file.
pkg_test(pkg_root, msg = "test_z.R file path:")
pkg_root | Character string. Package root directory. |
---|---|
msg | Character string.
Optional message.
If supplied,
prints |
Note that if pkg_create()
is used,
this function will be called.
Ivan Jacob Agaloos Pesigan
if (FALSE) { pkg_test( pkg_root = "~/boilerplatePackage" ) }