_drake.R
script to the current working directory.R/drake_script.R
drake_script.Rd
drake_script(code = NULL)
code | R code to put in |
---|
Nothing.
if (FALSE) { isolate_example("contain side-effects", { drake_script({ library(drake) plan <- drake_plan(x = 1) drake_config(plan, lock_cache = FALSE) }) cat(readLines("_drake.R"), sep = "\n") r_make() }) }