Learn R Programming

⚠️There's a newer version (1.8.2) of this package.Take me there.

R.methodsS3 (version 1.8.0)

S3 Methods Simplified

Description

Methods that simplify the setup of S3 generic functions and S3 methods. Major effort has been made in making definition of methods as simple as possible with a minimum of maintenance for package developers. For example, generic functions are created automatically, if missing, and naming conflict are automatically solved, if possible. The method setMethodS3() is a good start for those who in the future may want to migrate to S4. This is a cross-platform package implemented in pure R that generates standard S3 methods.

Copy Link

Version

Install

install.packages('R.methodsS3')

Monthly Downloads

145,697

Version

1.8.0

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Maintainer

Henrik Bengtsson

Last Published

February 14th, 2020

Functions in R.methodsS3 (1.8.0)

findDispatchMethodsS3

Finds the S3 methods that a generic function would call
pkgStartupMessage

Generates a (package) startup message
setMethodS3

Creates an S3 method
setGenericS3

Creates an S3 generic function
getMethodS3

Gets an S3 method
R.methodsS3-package

Package R.methodsS3
getDispatchMethodS3

Gets the S3 method that a generic function would call
getGenericS3

Gets an S3 generic function
isGenericS3

Checks if a function is a S3 generic function
Non-documented objects

Non-documented objects
R.KEYWORDS

Reserved words in R not to be used for object names
isGenericS4

Checks if a function is a S4 generic function
throw

Throws an exception