crancache icon indicating copy to clipboard operation
crancache copied to clipboard

Transparent caching of CRAN package files - WORK IN PROGRESS!

Results 15 crancache issues
Sort by recently updated
recently updated
newest added

I called `devtools::install(build_vignettes = TRUE)` to install a local package and got an error coming from crancache. Sorry this is not a clean reprex, but now that the package are...

I have two minor usability gripes with `crancache_remove()`: - the regex-matching feature is a little dangerous; I can't remember when, but I think I've accidentally removed packages this way in...

enhancement

I noticed that different r-lib packages will use one or the other. What are the differences between them? Also, it looks like development on crancache has mostly stopped; does this...

```r "irteQ" %in% crancache::available_packages() #> [1] TRUE ``` This causes a revdepcheck of irteQ even though it was removed from CRAN 1 year ago.

I've managed to corrupt my crancache but manually removing a single binary *.tar.gz in the `CRANCACHE_DIR`. This gives me the following error: ```r > crancache::install_packages("CGHbase") Installing package into ‘/wynton/home/cbi/hb/R/x86_64-pc-linux-gnu-library/3.6-CBI’ (as...

I see that the crancache uses `$HOME/.cache/R-crancache/cran-bin/src/contrib/` to cache binary package builds. On my Linux system, I'm running R 3.6.1, R 3.6.1 patched, and R-devel, in parallel. Q. My impression...

Is there some way to get `crancache` and `remotes::install_deps` to play nice together? Maybe some way of tricking `install_deps` to use `crancache::install_packages` instead of `utils::install.packages`? Or is the best way...

Just an FYI: No error per se, but I noticed the following double-slash path that looks like a mistake: ```r > res res [,1] [1,] "R.utils" [,2] [1,] "//home/hb/.cache/R-crancache/cran/src/contrib/R.utils_2.8.0.tar.gz" >...

I tracked a problem down to this bit of code in `get_cache_dir_for_file(file)`: ``` which

In particular a message is printed when the tarball is added to the path. ```r crancache::crancache_remove("rex") crancache::install_packages("rex", quiet=TRUE) #> Adding ‘rex_1.1.2.tgz’ to the cache ```