-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
change docker setup to install released versions of hubverse packages #30
Comments
from @zkamvar in slack: install2.r --skipinstalled --error --repo getOption remotes # install remotes for the github installer
# install hubverse packages and all dependencies (includes cran zoltr, but we will update that later)
install2.r --skipinstalled --error \
--repos https://hubverse-org.r-universe.dev/ \
--repos getOption \
hubData \
hubVis \
hubEnsembles
# install up-to-date reichlab packages
installGithub.r \
--update FALSE \
--repos getOption \
reichlab/zoltr \
reichlab/covidData \
reichlab/idforecastutils
# remove detritus
rm -rf /tmp/downloaded_packages \
&& strip /usr/local/lib/R/site-library/*/libs/*.so |
Additional thoughts:
|
To put a finer point on the third point:
This also benefits the script I presented in #30 (comment) as it would reduce the script to this # install hubverse packages and all dependencies (includes cran zoltr, but we will update that later)
install2.r --skipinstalled --error \
--repos https://hubverse-org.r-universe.dev/ \
--repos https://reichlab.r-universe.dev/ \
--repos getOption \
hubData \
hubVis \
hubEnsembles \
zoltr \
covidData \
idforecastutils
# remove detritus
rm -rf /tmp/downloaded_packages \
&& strip /usr/local/lib/R/site-library/*/libs/*.so An example DESCRIPTION file would look something like this:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From @zkamvar 's review in PR [clean up renv usage to fix incompatibility between stored CRAN repositories and renv version. update README.md files. regenerate renv.lock files #29]:
There are a couple of issues that still need to be addressed after this PR:
Both 1 and 2 are important in the event that the containers need to be rebuilt or updated (e.g. a severe bug in any of the software used or a change to the hub requires newer versions of hubverse packages).
The text was updated successfully, but these errors were encountered: