Gets the search path position of the package.

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

Arguments

...

Not used.

Value

An integer.

Author

Henrik Bengtsson

See also

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

Examples

  pkg <- Package("base")
  print(getPosition(pkg))
#> [1] 12