tests/scenarios/one-test.R

Sys.setenv(NOT_CRAN = "true")
Sys.setenv(drake_skip_callr = "true")
library(testthat)
devtools::load_all()
args <- commandArgs(TRUE)
with_options(
  list(drake_no_processx = TRUE),
  test_scenarios(scenario_names = args)
)

Try the drake package in your browser

Any scripts or data that you put into this service are public.

drake documentation built on Nov. 6, 2023, 5:09 p.m.