I made a change to R where factor() uses order() instead of sort.list() when generating the levels. Thus, table(pBlock) ends up calling rank(), which does x[!nas] and [.pBlock yields an invalid object, since the result is a vector, not a matrix. That causes problems later.
This change makes it so [.pBlock just returns a vector when the result of the call to base [ is not a matrix.
I made a change to R where
factor()
usesorder()
instead ofsort.list()
when generating the levels. Thus,table(pBlock)
ends up callingrank()
, which doesx[!nas]
and[.pBlock
yields an invalid object, since the result is a vector, not a matrix. That causes problems later.This change makes it so
[.pBlock
just returns a vector when the result of the call to base[
is not a matrix.