[R] Bug report: override stopifnot() ?
kasal at ucw.cz
Mon Mar 12 16:15:07 CET 2018
I stumbled over a problem:
stopifnot(m1 == m2)
It works with vector or matrix, but does not work for classes from Matrix package.
In the source of stopifnot(), there is all(m1 == m2) that would just work,
but there is also is.logical(m1 == m2) that id FALSE.
Would it be possible if Matrix package redefined stopifnot() ?
(If there is a bug tracking database for package Matrix, I would be happy to insert this report there.)
Thank you very much for the package,
More information about the R-help