Skip to content

Commit

Permalink
force 4.1.2 rfishbase version installation
Browse files Browse the repository at this point in the history
  • Loading branch information
langbart committed Aug 24, 2024
1 parent 6a7ee34 commit ca11587
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,15 @@ RUN install2.r --error --skipinstalled \
treemapify \
sf

# Ensure remotes package is up to date
RUN R -e "install.packages('remotes', repos='https://cran.rstudio.com/')"

# Install GitHub packages
RUN installGithub.r hrbrmstr/ggchicklet
RUN installGithub.r glmmTMB/glmmTMB/glmmTMB
RUN Rscript -e 'remotes::install_version("rfishbase", version = "4.1.2", dependencies = TRUE)'

# Install specific version of rfishbase
RUN Rscript -e 'remotes::install_version("rfishbase", version = "4.1.2", dependencies = TRUE, verbose = TRUE)'


#RUN Rscript -e "devtools::install_version('glmmTMB', version = '1.1.5')"
Expand Down
7 changes: 5 additions & 2 deletions Dockerfile.prod
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,15 @@ RUN install2.r --error --skipinstalled \
treemapify \
sf


# Ensure remotes package is up to date
RUN R -e "install.packages('remotes', repos='https://cran.rstudio.com/')"

# Install GitHub packages
RUN installGithub.r hrbrmstr/ggchicklet
RUN installGithub.r glmmTMB/glmmTMB/glmmTMB
RUN Rscript -e 'remotes::install_version("rfishbase", version = "4.1.2", dependencies = TRUE)'

# Install specific version of rfishbase
RUN Rscript -e 'remotes::install_version("rfishbase", version = "4.1.2", dependencies = TRUE, verbose = TRUE)'

# Install local package
COPY . /home
Expand Down

0 comments on commit ca11587

Please sign in to comment.