Copy and spin tests/testhat/*.R
to vignettes/tests/*.Rmd
.
It is assumed that tests/testhat/*.R
are written using Roxygen
comments.
pkg_tests2vignettes(pkg_root = getwd(), par = FALSE, ncores = NULL)
pkg_root | Character string. Package root directory. |
---|---|
par | Logical.
If |
ncores | Integer.
Number of cores to use if |
Ivan Jacob Agaloos Pesigan