Problem installing R package with Bioconductor dependencies
1
1
Entering edit mode
23 months ago
DanK ▴ 10

I have made a package to which I call the QuasR package among others, therefore, I have put it both in the DESCRIPTION file and in the NAMESPACE file. The DESCRIPTION file is as follows:

LazyData: true

Imports: Rcpp, Biostrings, bedr, devtools, tidyverse, dplyr, phangorn, ggseqlogo, metan, ggpubr, scales, ggplot2

Enhances: parallel

Remotes: bioc::release/Rbowtie,bioc::release/QuasR,bioc::release/GenomicAlignments,bioc::release/Rhtslib, bioc::release/rtracklayer,bioc::release/ShortRead, bioc::release/BSgenome,bioc::release/GenomicFeatures, bioc::release/VariantAnnotation,bioc::release/GenomicFiles,bioc::release/dada2, bioc::release/QuasR

LinkingTo: Rcpp

RoxygenNote: 7.2.0

The problem is that when I Dokerize this package, the following error occurs:

Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]): there is no package called ‘QuasR’

How can I call this package in the DESCRIPTION file? I tried to insert as Imported package, with the same result...

Bioconductor R package • 1.1k views
ADD COMMENT
1
Entering edit mode
23 months ago
Asaf 10k

Try to add a line with biocViews: before Imports: as suggested in this answer. Then you simply add the bioconductor libraries as Imports:

ADD COMMENT
0
Entering edit mode

Sorry, I already have the line

biocViews: Software, Transcriptomics, Workflow

before Imports, but I did not add it here in the forum. Also, when I had the bioconductor packages normally in Imports, I got the error that these specific packages cannot be found.

I'm very curious to see what's wrong, because as I've seen in other Github repositories, they load packages normally in Imports.

ADD REPLY
1
Entering edit mode

Try removing the terms leaving only biocViews:

ADD REPLY
0
Entering edit mode

Thank you, it works!

ADD REPLY

Login before adding your answer.

Traffic: 1383 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6