Gábor Csárdi

Results 2320 comments of Gábor Csárdi

Well, if you manually extract the dependencies from the renv JSON and pass them to pak one by one, that'll not speed things up, as there is no concurrency. It...

Maybe? pak will still resolve all dependencies again, and might en up with different package versions of course, if you just pass the package names. Or won't be able to...

@klmr What version and build of pak is this? What os? Also, your error looks different from what the OP was seeing, no?

The cran archive is a red herring, pak tries both URLs and the first should be clearly working, at least it is right now for me.

For the record, that happens because different packages have different version requirements. We could "collapse" them into a single one, it is not entirely straightforward, though.

I think this might happen because cloudflare returns a 404 or 403 or whatever they return when you make many requests, and pkgsearch does not handle that. `pkgsearch:::http_get()` or `pkgsearch:::crandb_query()`...

Can you please try with the dev version of pkgsearch?

Yes, crancache is deprecated in favor of pkgcache.

Windows: https://www.codeproject.com/KB/shell/OpenedFileFinder.aspx?fid=422864&df=90&mpp=25&noise=3&sort=Position&view=Quick&fr=26&select=2277170 Unix: see lslocks or lsof or lslk source code, maybe.

Calling external commands is not great in R, and small Docker containers might not have `taskset`. But there is an easy API for this on Linux: https://linux.die.net/man/2/sched_getaffinity There is also...