nf-core / nf-core/website

Add specific example of building an R container with only R packages

Open
#1,099 5 comments 3 reactions 1 assignee View on GitHub

@pcantalupo is already working on this.

Since Mar 18, 2022.

documentation
Dominant language
MDX
Stars
98
Forks
298
Avg merge
14h 38m
Merged PRs (30d)
38

Description

Is your feature request related to a problem? Please describe.
I need to create a container with just R and some R packages. I found this link https://nf-co.re/developers/modules#software-requirements. But to a beginner (and I know this is a Developer documentation), it is not clear how to build an R specific type of container.

The closest language is in this section:

It is also possible for a new multi-tool container to be built and added to BioContainers by submitting a pull request on their multi-package-containers repository.

However, there are several difficulities for a beginner to understand. For instance, installing R requires you to know to search for r-base on Anaconda.org. If you just search for R, you will never find it. Also, you need to know that R packages are prefixed with r- and bioconductor with bioconductor-

I have a list of commands that I executed to perform this task. I'm not sure if it is valuable to include as documentation.

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.