I managed to install the following package on my local RStudio session:
install.packages("devtools")
devtools::install_github("tidyverse/googlesheets4")
I am now trying to install it directly in the Dockerfile of my RStudio session on my server. For that, below the line:
RUN R -e "install.packages(c('DT', 'shiny', 'DBI', 'devtools'))"
I have added:
RUN R -e "devtools::install_version('tidyverse/googlesheets4')"
But when I launch the docker-compose up -d
command I get this error:
Error in package_find_repo(package, repos) : couldn't find package 'tidyverse/googlesheets4' Calls: ... -> download_version_url -> package_find_repo Execution halted ERROR: Service 'rstudio' failed to build: The command '/bin/sh -c R -e "devtools::install_version('tidyverse/googlesheets4')"' returned a non-zero code: 1
Do you know what could be the issue? Thanks a lot.