tests/testthat/deprecated/alias-home/R/code.R

Foo := deprecated_class(
  new = deprecatedAliasCore::Bar,
  when = "2.0.0",
  alias = TRUE
)
Child := new_class(parent = Foo)
Holder := new_class(properties = list(item = Foo))

Try the S7 package in your browser

Any scripts or data that you put into this service are public.

S7 documentation built on Nov. 19, 2026, 9:06 a.m.