Comments (2)
The setting of the repos option needs to change to options(repos='https://packagemanager.rstudio.com/cran/__linux__/focal/{date})'
but some quick experimentation on binder showed that installation failed if there is no snapshot on the given date.
from holepunch.
@annakrystalli Can we not replace this whole GitHub call in write_dockerfile
with the following line?
RUN if [ -f install.R ]; then R --quiet -f install.R; fi
Thereby this will already use the RStudio Public Package Manager (for R>=4.0) and moreover (if I understand it correctly) the versions from a past snapshot of the package directory are used then.
Then no DESCRIPTION
file might be needed but the file install.R
can be used for any additional R package.
from holepunch.
Related Issues (20)
- Ability to install functionality contained in compendium itself in DOCKERFILE HOT 2
- write_install includes duplicate packages HOT 6
- Installing packages from GitHub failed HOT 1
- holepunch:::r_version_table outdated HOT 2
- holepunch specified FROM rocker/binder:3.6.3 but HOT 1
- Remote packages not recognized
- Error with `write_compendium_description()` HOT 6
- compatibility with renv HOT 10
- [Enhancement] Add R version as a parameter to write_docker HOT 3
- Permission denied issue
- Support GitHub renaming of `gh:master` branch as `gh:main` HOT 1
- install.packages() in write_install() requires a character vector to install multiple packages
- Wrong R version
- Binder doesn't work due to old branch names HOT 3
- libsbml HOT 1
- Guidance on when/how to update the binder
- docker with R and Python HOT 6
- Error with Binder HOT 2
- Generated Docker file is blank 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 holepunch.