Skip to content

Prepare for removal of S4 classes standardGeneric and nonstandardGeneric - #1939

Open
jaganmn wants to merge 1 commit into
rstudio:mainfrom
jaganmn:no-methods-internal
Open

jaganmn wants to merge 1 commit into
rstudio:mainfrom
jaganmn:no-methods-internal

Conversation

@jaganmn

@jaganmn jaganmn commented Oct 20, 2026

Copy link
Copy Markdown

It is planned that R 4.7.0 will prune S4 classes standardGeneric and nonstandardGeneric and their subclasses, so that all new S4 generic function objects have class genericFunction rather than inheriting from that class indirectly. Note that the to-be-pruned S4 classes are documented as for internal use by package methods, hence not for use by any contributed package. This PR guards your package against the pending change in R by eliminating usage of the to-be-pruned S4 classes while preserving existing behaviour.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant