R.oo (version 1.24.0)

getPackage.Class: Gets the package to which the class belongs

Description

Gets the package to which the class belongs.

Usage

# S3 method for Class
getPackage(this, ...)

Arguments

...

Not used.

Value

Returns a Package.

See Also

Package. class(). setConstructorS3(). For more information see Class.

Examples

Run this code
# NOT RUN {
  print(getPackage(Object))
# }

Run the code above in your browser using DataLab