Gets the Bundle that this package might belong to
Gets the Bundle that this package might belong to as specified by the DESCRIPTION
file.
## S3 method for class 'Package' getBundle(this, ...)
... |
Not used. |
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.
If the package is part of a bundle, the name of the bundle is returned.
Otherwise, NULL
is returned.
Henrik Bengtsson
For more information see Package
.
pkg <- Package("R.oo") print(getBundle(pkg))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.