switchrDontUnload {switchr}R Documentation

Get or set packages to not unload when flushing the system

Description

Get or set packages which should NOT be unloaded when flushing the system, e.g., when switching between libraries.

Usage

switchrDontUnload(value, add = TRUE)

Arguments

value

The packages to not unload when switching libraries.

add

Should value be added to the existing list?

Value

the set of packages switchr will not attempt to unload which changing contexts (after setting it, if value is missing)

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.


[Package switchr version 0.14.8 Index]