isPackageLoaded: Checks if a package is loaded or not
Description
Checks if a package is loaded or not.
Note that, contrary to require()
,
this function does not load the package if not loaded.Usage
## S3 method for class 'default}(package, version=NULL, ...)':
isPackageLoadedundefined
- package
{The name of the package.}
- version
{A character
string specifying the version to test for.
If NULL
, any version is tested for.}
- ...
{Not used.}
Returns a logical
.
[object Object]
To check if a package is installed or not, see isPackageInstalled
().
utilities
package