Closed RobinHankin closed 6 months ago
Changing the frab
class declaration from setClass("frab",slots=c(x="numeric"))
to setClass("frab",slots=c(x="ANY"))
actually results in a buildable package that passes R CMD check
cleanly (!). However:
library("frab")
#>
#> Attaching package: 'frab'
#> The following objects are masked from 'package:base':
#>
#> pmax, pmin
frab(c(a=TRUE,b=TRUE,c=FALSE,d=TRUE))
#> A frab object with entries
#> a b d
#> 1 1 1
See how the entry for "c"
vanishes.
started work documenting this at inst/wittgenstein.Rmd
changed my mind.
and it can't:
Created on 2023-07-26 with reprex v2.0.2