Skip to content

chore: Prepare for removal of S4 classes standardGeneric and nonstandardGeneric - #766

Merged
krlmlr merged 3 commits into
r-dbi:mainfrom
jaganmn:no-methods-internal
Nov 29, 2026
Merged

krlmlr merged 3 commits into
r-dbi:mainfrom
jaganmn:no-methods-internal

Conversation

@jaganmn

@jaganmn jaganmn commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

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.

@krlmlr krlmlr mentioned this pull request Nov 28, 2026
3 of 7 tasks
@krlmlr krlmlr changed the title Prepare for removal of S4 classes standardGeneric and nonstandardGeneric chore: Prepare for removal of S4 classes standardGeneric and nonstandardGeneric Nov 29, 2026
@krlmlr
krlmlr merged commit 17c606b into r-dbi:main Nov 29, 2026
22 checks passed
@krlmlr

krlmlr commented Nov 29, 2026

Copy link
Copy Markdown
Member

Thanks!

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.

2 participants