setup_tinytest: Add tinytest to package source directory
Description
Creates inst/tinytest, and an example test file in that
directory. Creates tests/tinytest.R so the package is
tested with R CMD check. Adds tinytests as a suggested
package to the DESCRIPTION.
Usage
setup_tinytest(pkgdir, force = FALSE, verbose = TRUE)
# NOT RUN {# an easy way to set up a package 'haha' that passes# R CMD checkpkgKitten::kitten("haha")
tinytest::setup_tinytest("haha")
# }# NOT RUN {# }