packrat
mode on and off. When within
packrat
mode, the R session will use the private library generated
for the current project.
packrat_mode(on = NULL, project = NULL, auto.snapshot = get_opts("auto.snapshot"), clean.search.path = TRUE)
on(project = NULL, auto.snapshot = get_opts("auto.snapshot"), clean.search.path = TRUE, print.banner = TRUE)
off(project = NULL, print.banner = TRUE)
TRUE
) or off (FALSE
). If omitted, packrat mode
will be toggled.