Checks if the package is installed on the search path or not.

# S3 method for class 'Package'
isLoaded(this, ...)

Arguments

...

Not used.

Value

TRUE if the packages has been loaded, otherwise FALSE.

Author

Henrik Bengtsson

See also

*load(). search(). For more information see Package.

Examples

  pkg <- Package("base")
  print(isLoaded(pkg))       # TRUE
#> [1] TRUE