Skip to content

GHA for docker image fails #186

@kjkrishnan

Description

@kjkrishnan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ghaGitHub Action related

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions