[Bioc-devel] [ext] Re: RCAS build error on Nebbiolo2 - Missing BiocManager

Bor@@Uy@r m@iii@g oii mdc-berii@@de Bor@@Uy@r m@iii@g oii mdc-berii@@de
Mon Oct 30 12:01:42 CET 2023


Dear Herve & Kasper,

Thank you very much for your responses.


The checkSeqDb(‘hg19’) function calls the BSgenome::available.genomes function which in turn calls “get_data_annotation_contrib_url<https://rdrr.io/bioc/BSgenome/src/R/utils.R>“.

The method tries to access `BiocManager::repositories` function to find a certain url. So, it basically fails because BiocManager is not seen, not because it is used to install a dependency here.

In this case, it would be okay  add BiocManager to the suggests field of my package, is that right?



Best,

Bora

From: Hervé Pagès <hpages.on.github using gmail.com>
Date: Friday, 27. October 2023 at 17:57
To: "Uyar, Bora" <Bora.Uyar using mdc-berlin.de>, "bioc-devel using r-project.org" <bioc-devel using r-project.org>
Subject: [ext] Re: [Bioc-devel] RCAS build error on Nebbiolo2 - Missing BiocManager


Hi Bora,

BiocManager is installed on the machine but 'R CMD check' does not "see" it because you don't have it listed in Suggests. This 'R CMD check' behavior is controlled by the _R_CHECK_SUGGESTS_ONLY_ behavior and is only enabled on our Linux builders for now.

However, please note that the code in your examples, vignettes or unit tests should NOT install packages. I don't know what package exactly checkSeqDb('hg19') is trying to install but that is what should be listed in Suggests instead of BiocManager. That way it won't be reinstalled over and over again by  'R CMD check'.

Best,

H.
On 10/27/23 05:56, Bora.Uyar using mdc-berlin.de<mailto:Bora.Uyar using mdc-berlin.de> wrote:

Hi Bioc-Devel Team,



My package RCAS has been getting build errors on Nebbiolo2. It fails to run the tests/examples/vignettes all due to a missing dependency, which can’t be installed because BiocManager is not available.



Here is the build report:

https://bioconductor.org/checkResults/release/bioc-LATEST/RCAS/nebbiolo2-checksrc.html



The relevant error is :



Error in get_data_annotation_contrib_url(type) :

  Install 'BiocManager' from CRAN to get 'BioCann' contrib.url



Error: processing vignette 'RCAS.vignette.Rmd' failed with diagnostics:

Install 'BiocManager' from CRAN to get 'BioCann' contrib.url



The other machines all build it properly.



Best,

Bora



-----------

Dr. Bora Uyar

Bioinformatics Scientist

Bioinformatics and Omics Data Science Platform

Max Delbrueck Center (MDC) for Molecular Medicine

The Berlin Institute for Medical Systems Biology

Hannoversche Str. 28, 10115 Berlin







  [[alternative HTML version deleted]]



_______________________________________________

Bioc-devel using r-project.org<mailto:Bioc-devel using r-project.org> mailing list

https://stat.ethz.ch/mailman/listinfo/bioc-devel

--

Hervé Pagès



Bioconductor Core Team

hpages.on.github using gmail.com<mailto:hpages.on.github using gmail.com>

	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list