Closed knausb closed 4 years ago
Did some homework. The link at https://developer.r-project.org/Blog/public/2019/11/09/when-you-think-class.-think-again/index.html was very helpful. I use
if (class(obj) == "matrix") { ..... } # *bad* - do not copy !
to test if a function was passed a matrix. This is not recommended and needs to be changed to the following.
inherits(x, "matrix")
And we need to test this on Rdevel.
Tried to reproduce the behaviour on using rhub
using the following version of R.
R Under development (unstable) (2020-01-03 r77629) -- "Unsuffered Consequences"
But was unable to reproduce the error.
Reproduced it on travis (build #1168) with:
R Under development (unstable) (2020-01-03 r77628) -- "Unsuffered Consequences"
At 609f577c0a7173950976e9557d99331346269a3d we're now building cleanly at travis ci :smile:
Ping?
Please correct before 2020-01-10 to safely retain your package on CRAN.
Note that this will be the final reminder.
-k
R> class(matrix(1 : 4, 2, 2))