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

Description Usage Arguments Details Value Author(s) See Also Examples

Description

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

Usage

1
2
## S3 method for class 'Package'
getBundle(this, ...)

Arguments

...

Not used.

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.

Value

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

Author(s)

Henrik Bengtsson

See Also

For more information see Package.

Examples

1
2
  pkg <- Package("R.oo")
  print(getBundle(pkg))


Search within the R.oo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.