# NOT RUN {
test_with_dir("quarantine side effects", {
writeLines(
c(
"library(drake)",
"load_mtcars_example()",
"drake_config(my_plan)"
),
"_drake.R" # default value of the `source` argument
)
cat(readLines("_drake.R"), sep = "\n")
r_outdated()
r_make()
r_outdated()
})
# }
Run the code above in your browser using DataLab