GitHub action to build docker image after merge to master branch fails with error:
buildx failed with: ERROR: failed to build: failed to solve: process "/bin/sh -c Rscript -e 'devtools::install_deps(\".\", dependencies=TRUE)'" did not complete successfully: exit code: 1
This is from line 15 in the Dockerfile. The remotes package is required to run this, and it is not installed by default. Additionally, devtools::install_deps was deprecated in devtools v2.5.0, and should be replaced by pak::install_local_deps (which has the added benefit of installing both CRAN and Bioconductor packages together). The rocker/tidyverse image should already have pak installed.
GitHub action to build docker image after merge to master branch fails with error:
This is from line 15 in the Dockerfile. The
remotespackage is required to run this, and it is not installed by default. Additionally,devtools::install_depswas deprecated indevtoolsv2.5.0, and should be replaced bypak::install_local_deps(which has the added benefit of installing both CRAN and Bioconductor packages together). Therocker/tidyverseimage should already havepakinstalled.