[R-pkg-devel] Unusually long execution time for R.utils::gzip on r-devel-windows

Stefan Mayer @te|@n@m@yer @end|ng |rom un|-tueb|ngen@de
Sat Feb 17 12:20:56 CET 2024


> On 17. Feb 2024, at 09:16, Henrik Bengtsson <henrik.bengtsson using gmail.com> wrote:
> 
> I can confirm that this has to fixed in R.utils. This gist is that
> R.utils does lots of validation of read/write permissions, and deep
> down it rely on system("dir") as a fallback method. If this is down
> toward dirname(tempdir()), then it'll find a lot of files, e.g.
> 
> […]
> 
> So, yeah, wow!  I'll look into fixing this, probably by removing this
> fallback approach, which is very rarely needed; it was added way back
> when Sys.readlink() didn't cover all cases.

Thanks for looking into this, Henrik! Feel free to let me know if I can help with anything.

- Stefan


More information about the R-package-devel mailing list