[R-pkg-devel] CRAN pre-test Windows machine seems to be in a bad state

Jim Hester j@me@@|@he@ter @end|ng |rom gm@||@com
Wed Feb 17 16:44:14 CET 2021


In particular the magrittr package seems to be broken on the pre-test
machine.

I submitted a new version of the pkgload package on Friday, again on
Tuesday and today (Wednesday). All passed fine on the Debian machine, but
failed during installation on the Windows builder.

The failure is due to a soft load time dependency on testthat, which itself
has a hard dependency on magrittr. Because the magrittr installation is
broken my package (pkgload) fails to install. e.g.

* installing *source* package 'pkgload' ...
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
*** arch - i386
Error: package or namespace load failed for 'pkgload':
 .onLoad failed in loadNamespace() for 'pkgload', details:
  call: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
versionCheck = vI[[j]])
  error: there is no package called 'magrittr'
Error: loading failed
Execution halted
*** arch - x64
Error: package or namespace load failed for 'pkgload':
 .onLoad failed in loadNamespace() for 'pkgload', details:
  call: loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()),
versionCheck = vI[[j]])
  error: there is no package called 'magrittr'
Error: loading failed
Execution halted
ERROR: loading failed for 'i386', 'x64'
* removing 'd:/RCompile/CRANincoming/R-devel/lib/pkgload'


I am pretty confident there is nothing wrong in the pkgload package that is
causing this. The checks pass fine on a local windows machine. Hopefully
this will be cleared up by the CRAN maintainers soon.

Jim

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list