Package: r-cran-matrix
Version: 1.2-13-1
Severity: normal

Hi Dirk,

When I install r-cran-matrix version 1.2-13-1 from unstable, it puts it under 
/usr/lib/R/site-library ,
whereas if I downgrade to version 1.2-12-1 from testing, it puts it under 
/usr/lib/R/library with the
other recommended packages. I am not sure if this was an intentional change, 
but it breaks R CMD check
for packages that have Matrix in the Imports line of their DESCRIPTION file. 
Specifically, if you call
R CMD check on a package that is downstream of Matrix, then when it gets to 
examples or tests, it says:

Error: package or namespace load failed for 'rstanarm' in loadNamespace(j <- 
i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]):
there is no package called 'Matrix'

I put in a print statement right before that, which outputs

  > library(testthat)
  > print(.libPaths())
  [1] "/tmp/RtmpKN7neI/RLIBS_8051142d41b" "/usr/lib/R/library"               
  > library(rstanarm)

so it seems that R CMD check does not copy Matrix into /tmp/Rtmp* because it 
assumes it is already in
/usr/lib/R/library, which is not the case anymore.

Not a big deal since I have to do R CMD check on r-devel anyway.

Thanks,
Ben

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.17-4.towo-siduction-amd64 (SMP w/8 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages r-cran-matrix depends on:
ii  libatlas3-base [liblapack.so.3]    3.10.3-5
ii  libblas3 [libblas.so.3]            3.7.1-4
ii  libc6                              2.27-3
ii  libgcc1                            1:8-20180402-1
ii  libgfortran4                       7.3.0-14
ii  liblapack3 [liblapack.so.3]        3.7.1-4
ii  libopenblas-base [liblapack.so.3]  0.2.20+ds-4
ii  libquadmath0                       8-20180402-1
ii  libstdc++6                         8-20180402-1
ii  r-cran-lattice                     0.20-35-1+b1

r-cran-matrix recommends no packages.

r-cran-matrix suggests no packages.

-- no debconf information

Reply via email to