Stardust_tuning/R-3.6.0/tests/Pkgs/xDir/pkg/R/pkgA.R

setClass("classA", contains = "matrix")

setClass("classApp",
          slots = representation(App = "character"),
          contains = "classA")

## just so we can export it --
## *and* ensure it is "attached to graphics::plot generic" :
setMethod("plot", "classA", function(x, y, ...) NULL)

setMethod("summary", "classApp", function(object, ...) cat("summary(<classApp>)\n"))

nil <- NULL # see if we can use '::' on it

## Export, so we get a *conflict* message on attaching:
search <- function(...) base::search(...)
SimoneAvesani/Stardust_rCASC documentation built on Dec. 18, 2021, 2:02 p.m.