GHA for docker image fails

Open Beginner friendly
#186 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
85/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
docker, github-actions, r

Research direction

Start at line 15 of the Dockerfile and inspect the GitHub Action that builds the image after merges to master. Replace the deprecated dependency-install step as described, ensure the required package installation is available, and verify that the Docker image build completes successfully.

Written by the indexing model from the issue text.

Description

gha

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.

Dominant language
R
Stars
8
Forks
3
Avg merge
1d 1h
Merged PRs (30d)
1

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FertigLab/dominoSignal

All issues in FertigLab/dominoSignal

Similar issues

More R issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.