detachIfExisting: Detach package if it exists.

View source: R/helper_functions.R

detachIfExistingR Documentation

Detach package if it exists.

Description

Detach package if it exists.

Usage

detachIfExisting(packageNames)

Arguments

packageNames

A vector of package names which need to be detached. Silently ignores when the package is not loaded.

Value

No return value, this function is called for it's side-effect. Detaches a package if it can find it. Will also try to unload package DLLs that might be loaded using library.dynam.unload.


multiversion documentation built on March 22, 2022, 1:07 a.m.