############################################################################## ############################################################################## ### ### Running command: ### ### F:\biocbuild\bbs-3.20-bioc\R\bin\R.exe CMD check --no-multiarch --install=check:Macarron.install-out.txt --library=F:\biocbuild\bbs-3.20-bioc\R\library --no-vignettes --timings Macarron_1.10.0.tar.gz ### ############################################################################## ############################################################################## * using log directory 'F:/biocbuild/bbs-3.20-bioc/meat/Macarron.Rcheck' * using R version 4.4.2 (2024-10-31 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * using option '--no-vignettes' * checking for file 'Macarron/DESCRIPTION' ... OK * this is package 'Macarron' version '1.10.0' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'Macarron' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking 'build' directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking dependencies in R code ... WARNING '::' or ':::' import not declared from: 'stringr' * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... NOTE calQval: no visible binding for global variable 'metadata' calQval: no visible binding for global variable 'value' calQval: no visible binding for global variable 'pval' Undefined global functions or variables: metadata pval value * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... WARNING Codoc mismatches from Rd file 'Macarron.Rd': Macarron Code: function(input_abundances, input_annotations, input_metadata, input_taxonomy, output = "Macarron_output", metadata_variable = 1, min_prevalence = 0.7, execution_mode = "serial", standard_identifier = 1, anchor_annotation = 2, min_module_size = NULL, fixed_effects = NULL, random_effects = NULL, reference = NULL, cores = 1, plot_heatmap = FALSE, plot_scatter = TRUE, heatmap_first_n = 50, show_best = TRUE, priority_threshold = 0.9, per_module = 10, per_phenotype = 1000, only_characterizable = TRUE) Docs: function(input_abundances, input_annotations, input_metadata, input_taxonomy, output = "Macarron_output", metadata_variable = 1, min_prevalence = 0.7, execution_mode = "serial", standard_identifier = 1, anchor_annotation = 2, min_module_size = NULL, fixed_effects = NULL, random_effects = NULL, reference = NULL, cores = 1, plot_heatmap = TRUE, plot_scatter = FALSE, heatmap_first_n = 50, show_best = TRUE, priority_threshold = 0.9, per_module = 10, per_phenotype = 1000, only_characterizable = TRUE) Mismatches in argument default values: Name: 'plot_heatmap' Code: FALSE Docs: TRUE Name: 'plot_scatter' Code: TRUE Docs: FALSE Codoc mismatches from Rd file 'calQval.Rd': calQval Code: function(se, mod.assn, metadata_variable = 1, fixed_effects = NULL, random_effects = NULL, reference = NULL, output_folder = NULL, cores = 1, plot_heatmap = FALSE, plot_scatter = FALSE, heatmap_first_n = 50) Docs: function(se, mod.assn, metadata_variable = 1, fixed_effects = NULL, random_effects = NULL, reference = NULL, output_folder = NULL, cores = 1, plot_heatmap = TRUE, plot_scatter = FALSE, heatmap_first_n = 50) Mismatches in argument default values: Name: 'plot_heatmap' Code: FALSE Docs: TRUE * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'Macarron-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: decorateID > ### Title: Create a chemical taxonomy table for annotated metabolic > ### features. > ### Aliases: decorateID > > ### ** Examples > > prism_annotations = system.file("extdata", "demo_annotations.csv", package="Macarron") > annotations_df = read.csv(file = prism_annotations, row.names = 1) > input_taxonomy <- decorateID(annotations_df) Error in readBin(3L, "raw", 65536L) : Failure when receiving data from the peer [hmdb.ca] Calls: decorateID ... read_xml.connection -> readBin -> raise_libcurl_error Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... Running 'testthat.R' ERROR Running the tests in 'tests/testthat.R' failed. Last 13 lines of output: ▆ 1. ├─Macarron::decorateID(annotations_df) at test-decorateID.R:10:1 2. │ ├─base::do.call(rbind, lapply(ID_list, function(x) ChemTax_HMDB(x))) 3. │ └─base::lapply(ID_list, function(x) ChemTax_HMDB(x)) 4. │ └─Macarron (local) FUN(X[[i]], ...) 5. │ └─Macarron (local) ChemTax_HMDB(x) 6. │ ├─xml2::read_xml(hmdb_url) 7. │ └─xml2:::read_xml.character(hmdb_url) 8. │ └─xml2:::read_xml.connection(...) 9. ├─base::readBin(``, "raw", 65536L) 10. └─curl:::raise_libcurl_error(...) [ FAIL 1 | WARN 103 | SKIP 0 | PASS 17 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking running R code from vignettes ... SKIPPED * checking re-building of vignette outputs ... SKIPPED * checking PDF version of manual ... OK * DONE Status: 2 ERRORs, 2 WARNINGs, 1 NOTE See 'F:/biocbuild/bbs-3.20-bioc/meat/Macarron.Rcheck/00check.log' for details.