Get or set the packages to not unload when flushing the system

Description

Get or set the packages to not unload when flushing the system

Usage

1
switchrDontUnload(value, add = TRUE)

Arguments

value

The packages to not unload when switching libraries.

add

Should value be added to the existing list?

Note

By default switchr will not attempt to unload any base packages, itself, or any of its dependencies. Attempting to unload any of these packages (e.g. add=FALSE) will result in undefined behavior and is not recommended.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.