Skip to content

Commit

Permalink
add required R dependencies for training
Browse files Browse the repository at this point in the history
  • Loading branch information
fnattino committed Mar 2, 2024
1 parent 48b9a47 commit c63671c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion image/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ RUN mamba env update --name base --file /tmp/environment.yml &&\
# Additional R dependencies not available on conda channels
RUN Rscript -e 'devtools::install_github("bluegreen-labs/phenor", upgrade="never")'
RUN Rscript -e 'devtools::install_github("ropensci/rppo", upgrade="never")'
RUN Rscript -e 'install.packages(c("daymetr", "MODISTools", "phenocamr", "rnpn"), repos = "http://cran.us.r-project.org")'
RUN Rscript -e 'install.packages(c("AeRobiology", "daymetr", "MODISTools", "phenocamr", "rnpn"), repos = "http://cran.us.r-project.org")'

EXPOSE 8888
2 changes: 2 additions & 0 deletions image/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ dependencies:
- r-bit
- r-bit64
- r-changepoint
- r-chillr
- r-class
- r-curl
- r-devtools
Expand All @@ -37,6 +38,7 @@ dependencies:
- r-jsonlite
- r-keyring
- r-kernsmooth
- r-leaflet
- r-lme4
- r-lmtest
- r-magrittr
Expand Down

0 comments on commit c63671c

Please sign in to comment.