Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add biocViews to DESCRIPTION #142

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slowkow
Copy link

@slowkow slowkow commented Jul 17, 2020

Bioconductor dependencies won't be automatically installed without additional annotations.

One way to indicate that some of the dependencies might come from Bioconductor is by
adding the string biocViews: to the DESCRIPTION file.

This code in remotes detects the string biocViews::

https://github.com/r-lib/remotes/blob/c2013c25d905d73ca4326f2c5829165fea55f2ea/R/utils.R#L46-L48

A second way to do it is to list each Bioconductor dependency twice. First, list it in Depends:, Imports:, or Suggests:. And then list it again a second time in Remotes:. This is described here:

https://devtools.r-lib.org/articles/dependencies.html#other-sources

This should help to automatically install Bioconductor dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant