Detaches packages by name, if loaded.

# S3 method for default
detachPackage(pkgname, ...)

Arguments

pkgname

A character vector of package names to be detached.

...

Not used.

Value

Returns (invisibly) a named logical

vector indicating whether each package was detached or not.

Author

Henrik Bengtsson

See also