sessionInfo()
of the last call to make()
.R/progress.R
By default, session info is saved
during make()
to ensure reproducibility.
Your loaded packages and their versions are recorded, for example.
drake_session(path = getwd(), search = TRUE, cache = drake::get_cache(path = path, search = search, verbose = verbose), verbose = drake::default_verbose())
path | Root directory of the drake project,
or if |
---|---|
search | logical. If |
cache | drake cache. See |
verbose | logical or numeric, control printing to the console.
Use
|
sessionInfo()
of the last
call to make()
diagnose()
, built()
, imported()
,
readd()
, drake_plan()
, make()
# NOT RUN { test_with_dir("Quarantine side effects.", { load_basic_example() # Get the code with drake_example("basic"). make(my_plan) # Run the project, build the targets. drake_session() # Retrieve the cached sessionInfo() of the last make(). }) # }