test | R Documentation |
Execute testthat tests in a package
test(path = getwd())
longtest(path = getwd())
path |
|
Note that usage of test_local
is now recommended instead of test_dir
,
and appears to be required for testthat checks to run successfully in
parallel.
Invisible TRUE
on success, otherwise error.
Updated 2023-09-28.
https://contributions.bioconductor.org/long-tests.html
https://github.com/r-lib/testthat/issues/1216
## > test()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.