Lorenz Walthert
Lorenz Walthert
I hope the above linked docs are self-explanatory, but I think you are the first one to attempt using it (apart from myself), so it's a good test to see...
Thanks for the quick reply. I asked. Let’s see.
So you agree that if `/tmp/check-CRAN-incoming-hornik/cache/R/R.cache` is returned by `tools::R_user_dir('R.cache', which = "cache")`, the directoy should be writable, no?
Ok, got no answer to my question, but Uwe sent it to CRAN, so let's close for now.
Seing the same again with {revdep} check locally for a package that imports {styler} and where the cache directory `~/Library/Caches/org.R-project.R/R/R.cache/styler/1.10.3` not yet exists. Same package check is not failing for...
on CRAN revdep check, the error is ```r Package: shinymeta Check: for code/documentation mismatches New result: WARNING Error: package or namespace load failed for ‘shinymeta’: .onLoad failed in loadNamespace() for...
@HenrikBengtsson I am sorry to bother but this seems pressing. Why is R.cache not using a temporary cache path here? Any ideas? Or how I could work around this by...
It was suggested by Kurt that the reason might also be a race condition / multiple processes trying to create the directory during the revdepcheck. Do you think that's plausible?
{styler} went through, I added some `rlang::try_fetch()` in the `.OnLoad()`, probably that will solve the issue for me, but maybe for others, it's good to fix this anyways. I got...
> Is your fix for styler? Yes , I fixed the problem in `styler:::.OnLoad()` and no where else.