Comments (1)
A workaround is to set CRANCACHE_DIR
manually, e.g. in ~/.Rprofile
:
if (nzchar(system.file(package="crancache"))) {
Sys.setenv(CRANCACHE_DIR=rappdirs::user_cache_dir("R-crancache", version=c("%p", "%v")))
}
This solution is inefficient in the sense that identical source code *.tar.gz from CRAN, Bioconductor, ... will be downloaded and cached into multiple locations.
from crancache.
Related Issues (20)
- Packages with space in version number break the cache HOT 4
- R 3.4.1 (macOS) is not caching downloaded binaries HOT 1
- Does not work on windows, because URL encoding messes up `\\` in the path HOT 2
- available_packages(): Error: invalid version specification '2.2.0 ' HOT 2
- readRDS() error from revdepcheck HOT 1
- CRAN release HOT 2
- `install_packages()` does not respect the `quiet` argument
- Can't access https://install-github.me/r-lib/crancache HOT 2
- Mac OS not caching HOT 1
- update_cache_binaries(): length(x) = 2 > 1' in coercion to 'logical(1) ERROR HOT 2
- download_packages() returns double-slashed path ("//home/hb/.cache/...")
- `install_deps` coordination? HOT 2
- QUESTION: Update crancache when tarball has been lost?
- `available_packages()` potentially includes packages that were removed from CRAN
- crancache vs pkgcache HOT 1
- feature request for crancache_remove HOT 1
- Move `master` branch to `main` HOT 2
- Condition length error
- install_packages(): Force a re-install? [ANSWERED] HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crancache.