Gets the package of a method or an object.
## Static method (use this):
## Rdoc$getPackageNameOf(objectName, mode="any", unique=TRUE, ...)## Don't use the below:
# S3 method for Rdoc
getPackageNameOf(static, objectName, mode="any", unique=TRUE, ...)
An method or object name (character string).
Mode of object (character string).
If TRUE, only the first matching package is returned if
more than one is found.
Not used.
Returns a character string.
For more information see Rdoc.