[R-pkg-devel] CRAN build error on Windows

Pepijn de Vries pep|jn@devr|e@ @end|ng |rom out|ook@com
Tue Nov 12 13:40:24 CET 2024


Hi r-package-devel team,

I'm author of the ProTrackR2 package and have recently submitted a new release to CRAN. It builds without problems on all operating systems, except for Windows:

https://cran.r-project.org/web/checks/check_results_ProTrackR2.html

At first I thought it might be a problem caused by my 'configure.win' script, which would be strange since it remained unchanged since the previously submitted version (which built without problems on Windows). Also, the package builds without problems on Windows machines at r-universe and the rhub checks. This is why I'm beginning to suspect that this is an issue with the CRAN Windows machine. The install.log from CRAN reports:

"Cannot create temporary file in D:\temp\2024_11_12_ 1_50_00_12637\: No such file or directory"

After snooping around I found another (unrelated) package with exactly the same problem:

https://cran.r-project.org/web/checks/check_results_Amelia.html

This package has a completely different setup (no configure script, and it uses Rcpp instead of cpp11).

My question is: how can I figure out if something is wrong with my package setup, or whether this is an issue at CRAN with building for Windows?

Thanks in advance for your help!



More information about the R-package-devel mailing list