[R-pkg-devel] CRAN build error on Windows
Uwe Ligges
||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Wed Nov 13 09:57:05 CET 2024
On 12.11.2024 20:25, Dirk Eddelbuettel wrote:
>
> On 12 November 2024 at 10:47, Dirk Eddelbuettel wrote:
> |
> | 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 '_'.
>
> Just saw the same error in a package on mine, updated yesterday. [1]
>
> That makes it more likely that this is a (hopefully transient) issue on the
> Windows builder. Uwe reads this list and may chime in.
>
> Dirk
>
> [1] https://www.r-project.org/nosvn/R.check/r-devel-windows-x86_64/RcppSpdlog-00install.html
>
You are right, the temp dir got too big to handle and hence I have time
specific temp dirs now. WHat I did not anticipate is that although
Windows writes "01" for days, months, minutes, and seconds, it rather
prints " 1" for hours when asking for %DATE% and %TIME% in a batch file.
Fixed in the meantime and check results should clear up soon.
Best,
Uwe
More information about the R-package-devel
mailing list