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

gen := deprecated_generic(new = deprecatedCore::gen, when = "2.0.0")
shout := deprecated_generic("x", when = "2.0.0")
Bar := new_class(properties = list(value = class_double))
Foo := deprecated_class(
  properties = list(value = class_double),
  new = Bar,
  when = "2.0.0"
)
.onLoad <- function(...) S7_on_load()

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.