I'm using run_examples and I'm trying to run all examples in a fresh session. Seems that run and test are deprecated but are the only option to running all tests with fresh:
devtools::run_examples(fresh = TRUE)
#> Error in eval(substitute(function() devtools::run_examples(pkg = path, :
#> argument "test" is missing, with no default
devtools::run_examples(run_donttest = TRUE, run_dontrun = TRUE, fresh = TRUE)
#> Error in eval(substitute(function() devtools::run_examples(pkg = path, :
#> argument "test" is missing, with no default
devtools::run_examples(run = TRUE, test = TRUE, fresh = TRUE)
# works
# Note that this happens only when fresh = TRUE
devtools::run_examples(run_donttest = TRUE, run_dontrun = TRUE)
# Works
I'm using
run_examples
and I'm trying to run all examples in a fresh session. Seems thatrun
andtest
are deprecated but are the only option to running all tests withfresh
:SI: