oceanhackweek / jupyter-image

jupyter-image
MIT License
2 stars 7 forks source link

Use littler to install R packages #19

Closed abkfenris closed 3 years ago

abkfenris commented 4 years ago

Ahh, we don't have to make our own script. We can add littler via Conda, then:

install.R -r https://cloud.r-project.org/ biomod2
installGithub.R BigelowLab/rasf BigelowLab/ohwobpg

Originally posted by @abkfenris in https://github.com/oceanhackweek/jupyter-image/pull/17#issuecomment-672964691

ocefpaf commented 3 years ago

Nice! But we need that in the postBuild anyways, right?

abkfenris commented 3 years ago

Ya, we would still need something in postBuild with littler.

I think the problem that it would help solve is that the current Rscript commands don't appropriately explode when there is an error.

ocefpaf commented 3 years ago

I'm almost done with the new image. It will have littler there.