tests/scenarios/tests-separate.R

devtools::load_all()
Sys.setenv(drake_skip_callr = "true")
for (scenario in sort(testing_scenario_names())) {
  cat(scenario, "\n")
  system2(
    command = "R",
    args = paste0(
      "CMD BATCH --no-save '--args ",
      scenario, "' one-test.R ", scenario, ".out"
    )
  )
}
wlandau-lilly/drake documentation built on March 6, 2024, 8:18 a.m.