We are expecting to release Matrix 1.5-2 to CRAN next week, ahead of the
release of R 4.2.2 on Oct 31, but
$ R CMD check inlabru_2.5.3.tar.gz
reveals a regression under the latest Matrix-devel (output attached).
00check.log
The reason is that kronecker(x, y), with one of 'x' and 'y' a CsparseMatrix
and the other a TsparseMatrix, now returns a CsparseMatrix rather than a
TsparseMatrix (for efficiency). Hence the result now has 'p' and 'i' slots
rather than 'i' and 'j' slots.
If you absolutely need a TsparseMatrix, then you coerce the CsparseMatrix
argument or result with as(., "TsparseMatrix").
Once you revise your source code, do verify that your package passes
its checks under Matrix-devel, which you can install from R-Forge with
From Matrix co-maintainer Mikael Jagan:
We are expecting to release Matrix 1.5-2 to CRAN next week, ahead of the release of R 4.2.2 on Oct 31, but
reveals a regression under the latest Matrix-devel (output attached). 00check.log
The reason is that
kronecker(x, y)
, with one of 'x' and 'y' a CsparseMatrix and the other a TsparseMatrix, now returns a CsparseMatrix rather than a TsparseMatrix (for efficiency). Hence the result now has 'p' and 'i' slots rather than 'i' and 'j' slots.If you absolutely need a TsparseMatrix, then you coerce the CsparseMatrix argument or result with
as(., "TsparseMatrix")
.Once you revise your source code, do verify that your package passes its checks under Matrix-devel, which you can install from R-Forge with
If you are unable to make the requested changes before Oct 31, or if you need help or clarification while fixing your code, then please let me know.