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

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Tue Nov 12 17:47:28 CET 2024


On 12 November 2024 at 12:40, Pepijn de Vries wrote:
| "Cannot create temporary file in D:\temp\2024_11_12_ 1_50_00_12637\: No such file or directory"

Based on your quote and the log [1] it looks like you have a space in the
directory name. Windows can accommodate these but you must then quote them
prperly. A more defensive mechanism is to not have spaces there in the first
so may call `sub()` on the path replacing ' ' with '_'.
 
Dirk

[1] https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64/ProTrackR2-00install.html

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list