test_local_as_cran | R Documentation |
Similar to testthat::test_local()
, it runs all tests in a package
except those skipped by testthat::skip_on_cran()
, using
withr::local_envvar(NOT_CRAN = "false")
.
test_local_as_cran(path = ".", reporter = NULL, ..., load_package = "source")
path |
Path to directory containing tests. |
reporter |
Reporter to use to summarise output. Can be supplied
as a string (e.g. "summary") or as an R6 object
(e.g. See Reporter for more details and a list of built-in reporters. |
... |
Additional arguments passed to |
load_package |
Strategy to use for load package code:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.