Learn R Programming

R.methodsS3 (version 1.8.2)

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

181,444

Version

1.8.2

License

LGPL (>= 2.1)

Issues

Pull Requests

Stars

Forks

Last Published

June 13th, 2022

Functions in R.methodsS3 (1.8.2)

isGenericS3

Checks if a function is a S3 generic function
R.methodsS3-package

Package R.methodsS3
R.KEYWORDS

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

Gets an S3 method
isGenericS4

Checks if a function is a S4 generic function
getDispatchMethodS3

Gets the S3 method that a generic function would call
Non-documented objects

Non-documented objects
getGenericS3

Gets an S3 generic function
findDispatchMethodsS3

Finds the S3 methods that a generic function would call
setGenericS3

Creates an S3 generic function
throw

Throws an exception
setMethodS3

Creates an S3 method
pkgStartupMessage

Generates a (package) startup message