Learn R Programming

R.oo (version 1.26.0)

getBundle.Package: Gets the Bundle that this package might belong to

Description

Gets the Bundle that this package might belong to as specified by the DESCRIPTION file.

Usage

# S3 method for Package
getBundle(this, ...)

Value

If the package is part of a bundle, the name of the bundle is returned. Otherwise, NULL is returned.

Arguments

...

Not used.

Author

Henrik Bengtsson

Details

The first call to this method is normally slow because all installed packages are scanned. The result of this first call is cached and used as the return value for all subsequent calls, which are then much faster.

See Also

For more information see Package.

Examples

Run this code
# \donttest{
  pkg <- Package("R.oo")
  print(getBundle(pkg))
# }

Run the code above in your browser using DataLab