Closed pcarbo closed 4 years ago
Also, unrelated to this, adding a Remotes
entry to the DESCRIPTION
file would help with automatically installing the Bioconductor dependencies; when I tried to build the vignette it didn't work until I manually installed a couple of the missing Bioconductor packages. See here for details: https://remotes.r-lib.org/articles/dependencies.html
Yes, it seems you are right. Having Rcpp in Depends
is not uncommon, but Imports
should be enough.
For the Remotes
part, how exactly are installing fgsea
. For building vignette the packages in Suggests
should be installed, which can be easily done with devtools::install(..., dependencies=TRUE)
. I believe it works well with Bioconductor packages.
@assaron On its own, devtools
doesn't know where to find the Bioconductor packages, so you need to add the Remotes:
entry to tell it where to look for them. This is similar to packages that are only available on GitHub. (This is a minor issue that only comes up when trying to build the vignette.)
This is strange, I believe for some time devtools
knows about Bioconductor dependencies, see for example the discussion and particular comment here: https://github.com/r-lib/devtools/issues/700#issuecomment-235127291
Yes, it is entirely possible that this has changed. They have made many changes to devtools
in the past few years.
Rcpp is now in imports
It is highly unusual for Rcpp to be included in the
Depends
section of theDESCRIPTION
. I may be wrong here, but I believe it should be listed instead in theImports
section. (It is correctly listed inLinkingTo
.)