run_test | R Documentation |
Run tests a single time
run_test(map)
run_tests(map, n = 1)
map |
a function map as returned from |
n |
(integer) number of times to run tests |
uses testthat::SilentReporter as the reporter
in testthat::test_package()
an object of class testthat_results
## Not run:
path <- '/Users/sckott/github/ropensci/rredlist'
pkgmap <- make_pkg_map(path)
# single test
res <- run_test(pkgmap)
class(res)
res[[1]]
# many tests
out <- run_tests(pkgmap, times = 2)
length(out)
out[[1]]
out[[2]]
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.