[R-pkg-devel] CRAN build error on Windows
Pepijn de Vries
pep|jn@devr|e@ @end|ng |rom out|ook@com
Wed Nov 13 12:57:16 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
Thanks for the quick responses and fixing this. Indeed, the package has now built without problems.
Kind regards,
Pepijn
More information about the R-package-devel
mailing list