# NOT RUN {
test_with_dir("Quarantine side effects.", {
load_basic_example() # Get the code with drake_example("basic").
config <- make(my_plan) # Run the project, build the targets.
rate_limiting_times(config) # Everything is up to date.
# Assume everything runs from scratch with 1 job.
rate_limiting_times(config, from_scratch = TRUE, digits = 4)
# With 2 jobs, some of the targets are not rate-limiting.
rate_limiting_times(
config,
future_jobs = 2,
from_scratch = TRUE,
digits = 4
)
# Find the rate-limiting times of just building targets
# "small" and "large".
rate_limiting_times(
config,
targets = c("small", "large"),
from_scratch = TRUE,
digits = 4
)
})
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab