getPosition.Package.RdGets the search path position of the package.
# S3 method for class 'Package'
getPosition(this, ...)An integer.
*getEnvironment().
search().
For more information see Package.
pkg <- Package("base")
print(getPosition(pkg))
#> [1] 12