# NOT RUN {
isolate_example("Quarantine side effects.", {
if (suppressWarnings(require("knitr"))) {
load_mtcars_example() # Get the code with drake_example("mtcars").
# Recopute the config list early and often to have the
# most current information. Do not modify the config list by hand.
config <- drake_config(my_plan)
outdated(config = config) # Which targets are out of date?
make(my_plan) # Run the projects, build the targets.
config <- drake_config(my_plan)
# Now, everything should be up to date (no targets listed).
outdated(config = config)
}
})
# }
Run the code above in your browser using DataLab