add_test_infrastructure: Add test skeleton.
Description
Add testing infrastructure to a package that does not already have it.
This will create tests/testthat.R, tests/testthat/ and
add testthat to the suggested packages. This is called
automatically from test
if needed.Usage
add_test_infrastructure(pkg = ".")
Arguments
pkg
package description, can be path or package name. See
as.package
for more information.