getPackage.Class.RdGets the package to which the class belongs.
# S3 method for class 'Class'
getPackage(this, ...)Returns a Package.
Package.
class().
setConstructorS3().
For more information see Class.
print(getPackage(Object))
#> [1] "R.oo"