Checks if a package is loaded or not.
Note that, contrary to require()
,
this function does not load the package if not loaded.
# S3 method for default
isPackageLoaded(package, version=NULL, ...)
The name of the package.
Not used.
Returns a logical
.
To check if a package is installed or not, see isPackageInstalled
().