Detaches (fastverse) packages, removing them from the search
path.
Usage
fastverse_detach(
...,
unload = FALSE,
force = FALSE,
include.self = TRUE,
session = FALSE,
permanent = FALSE
)
Arguments
- ...
comma-separated package names, quoted or unquoted, or vectors of package names. If left empty, all packages returned by
fastverse_packages
are detached.- unload
logical.
TRUE
also unloads the packages usingdetach(name, unload = TRUE)
.- force
logical. should a fastverse package be detached / unloaded even though other attached packages depend on it?
- include.self
logical.
TRUE
also includes thefastverse
package - only applicable if...
is left empty.- session
logical.
TRUE
also removes the packages fromoptions("fastverse.extend")
, so they will not be attached again withlibrary(fastverse)
in the current session. If...
is left empty andinclude.self = TRUE
, this will clear all fastverse options set for the session.- permanent
logical. if
...
are used to detach certain packages,permament = TRUE
will disable them being loaded the next time the fastverse is loaded. This is implemented via a config file saved to the package directory. Core fastverse packages can also be detached in this way. To add a package again useextend_fastverse(..., permanent = TRUE)
. The config file can be removed withfastverse_reset
.