Gets the search path position of the package

Share:

Description

Gets the search path position of the package.

Usage

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

Arguments

...

Not used.

Value

An integer.

Author(s)

Henrik Bengtsson

See Also

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

Examples

1
2
  pkg <- Package("base")
  print(getPosition(pkg))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.