[Bioc-devel] Bioconductor checking error: example failed due to a suggest package of a dependecy package of my package

Cao c@oy@ng@n@me @end|ng |rom gm@||@com
Fri Feb 14 02:15:01 CET 2025


Dear,

I have addressed the checking error of my package *microbiomeMarker* and 
pushed the commit to the bioconductor repository.

As shown in the checkResults package 
(https://bioconductor.org/checkResults/release/bioc-LATEST/microbiomeMarker/), 
all checks passed for windows and mac os. But for Linux (Ubuntu), an 
error occurred while checking the example in function /run_ancombc/:

    Running examples in ‘microbiomeMarker-Ex.R’ failed
    The error most likely occurred in:

     > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
     > ### Name: run_ancombc
     > ### Title: Differential analysis of compositions of microbiomes
    with bias
     > ###   correction (ANCOM-BC).
     > ### Aliases: run_ancombc
     >
     > ### ** Examples
     >
     > data(enterotypes_arumugam)
     > ps <- phyloseq::subset_samples(
    +     enterotypes_arumugam,
    +     Enterotype %in% c("Enterotype 3", "Enterotype 2")
    + )
     > run_ancombc(ps, group = "Enterotype")
    'ancombc' has been fully evolved to 'ancombc2'.
    Explore the enhanced capabilities of our refined method!
    Checking the input data type ...
    The input data is of type: phyloseq
    Error in data_sanity_check(data = data, taxa_are_rows =
    taxa_are_rows,  :
       The 'microbiome' package is needed to process the imported data
    but is not installed. Please install the package to continue.
    Calls: run_ancombc -> <Anonymous> -> data_sanity_check
    Execution halted


    The  package *microbiome *is in  the Suggests list of *ANCOMBC
    *packge, and ANCOMBC is in the Import list of *microbiomeMarker*.
    Why is the *microbiome* package not installed automatically on
    Linux,how can I fix this checking error?


    Thanks for your attention!


    Sincerely,

    Yang Cao


	[[alternative HTML version deleted]]



More information about the Bioc-devel mailing list