the package currently does not perform any checks for the R6 class. reference classes (R5) are treated as S4:
x <- 1
x <- setRefClass("custom reference class")
isS4(x)
## [1] TRUE
Since most tests are based off of !is.S4(), R6 classes are treated as S3.
the package currently does not perform any checks for the R6 class. reference classes (R5) are treated as S4:
Since most tests are based off of
!is.S4(), R6 classes are treated as S3.