You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While verifying scenarios for the evolution vignette (#143): renaming a class breaks downstream packages even when the old name is kept as an exported alias (Foo <- Bar), if they refer to the class with new_external_class("pkgA", "Foo"):
Error: Package 'pkgA' must export `Foo` as the S7 class <pkgA::Foo>.
resolve_external_class_req() requires identical(obj@name, name) && identical(obj@package, package), which an alias to the renamed class can't satisfy.
changed the title [-]Let new_external_class() resolve through an exported alias, so classes can be renamed[/-][+]Can't rename classes[/+]on Jul 27, 2026
Activity
[-]Let new_external_class() resolve through an exported alias, so classes can be renamed[/-][+]Can't rename classes[/+]hadley commentedon Jul 27, 2026
We might also want to provide a
deprecated_class()a la #730.Add deprecated_generic(), deprecated_class(), and deprecated_property…