[R-pkg-team] Bug#980809: rmatrix: breaks autopkgtest of r-cran-glmmtmb on s390x

Graham Inggs ginggs at debian.org
Mon Feb 15 09:17:36 GMT 2021


Hi Dirk

On Sun, 14 Feb 2021 at 15:57, Dirk Eddelbuettel <edd at debian.org> wrote:
> Sure. Just fire up R on the box, don't install anything beyond r-base-core
> (and maybe r-recommended accounting for a few of the ones above) and then say

Perfect, thank you!

I installed only r-base-core and r-base-dev (gfortran, blas and lapack
were needed for compilation).

> install.packages("glmmTMB")
... much downloading and compiling ...
* DONE (glmmTMB)

The downloaded source packages are in
        '/tmp/RtmpzKTGsP/downloaded_packages'
> require("glmmTMB")
Loading required package: glmmTMB
> require("lme4")
Loading required package: lme4
Loading required package: Matrix
> data("Orthodont", package="nlme")
> fm1 <- glmmTMB(distance ~ age + (age|Subject), data = Orthodont)
Error in (function (start, objective, gradient = NULL, hessian = NULL,  :
  gradient function must return a numeric vector of length 6
In addition: Warning messages:
1: In Matrix::sparseMatrix(dims = c(0, 0), i = integer(0), j = integer(0),  :
  'giveCsparse' has been deprecated; setting 'repr = "T"' for you
2: In Matrix::sparseMatrix(dims = c(0, 0), i = integer(0), j = integer(0),  :
  'giveCsparse' has been deprecated; setting 'repr = "T"' for you
3: In Matrix::sparseMatrix(dims = c(0, 0), i = integer(0), j = integer(0),  :
  'giveCsparse' has been deprecated; setting 'repr = "T"' for you
4: In (function (start, objective, gradient = NULL, hessian = NULL,  :
  NA/NaN function evaluation
Timing stopped at: 0.244 0.001 0.246

Upstream says those warnings can be ignored.  I also tried the above
with r-recommended installed as well and got the same result.

> I do not have access to any weird or exotic hardware.

As a DD, you already have access to all our porterboxes[1]!  :-)

Regards
Graham


[1] https://wiki.debian.org/PorterBoxHowToUse



More information about the R-pkg-team mailing list