Unloads package(s) or all packages.
p_unload(..., negate = FALSE, char, character.only = FALSE)
name of package(s) or "all" (all removes all add on packages).
logical. If TRUE
will unload
all add on packages except those provided to p_unload
.
Character vector containing packages to load. If you are calling
p_unload
from within a function (or just having difficulties calling it
using a character vector input) then pass your character vector of packages
to load to this parameter directly.
logical. If TRUE
then p_unload
will only
accept a single input which is a character vector containing the names of
packages to load.
p_unload
will not unload the base install packages that load
when R boots up. See the comments in the help for detach
about some
issues with unloading and reloading namespaces.