Skip to content

Commit fd80eff

Browse files
authored
use cran.r-project.org mirror
Realized the same has to be done in the Dockerfile to install R packages from source in the image.
1 parent aea8964 commit fd80eff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ WORKDIR /home/rstudio
44

55
COPY --chown=rstudio:rstudio . /home/rstudio/
66

7-
RUN Rscript -e "devtools::install('.', dependencies=TRUE, build_vignettes=TRUE, repos = BiocManager::repositories())"
7+
RUN Rscript -e "options(repos = c(CRAN = 'https://cran.r-project.org')); devtools::install('.', dependencies=TRUE, build_vignettes=TRUE, repos = BiocManager::repositories())"

0 commit comments

Comments
 (0)