############################################################################## ############################################################################## ### ### Running command: ### ### /Library/Frameworks/R.framework/Resources/bin/R CMD check --install=check:GeneTonic.install-out.txt --library=/Library/Frameworks/R.framework/Resources/library --no-vignettes --timings GeneTonic_2.6.0.tar.gz ### ############################################################################## ############################################################################## * using log directory ‘/Users/biocbuild/bbs-3.18-bioc/meat/GeneTonic.Rcheck’ * using R version 4.3.3 (2024-02-29) * using platform: x86_64-apple-darwin20 (64-bit) * R was compiled by Apple clang version 14.0.0 (clang-1400.0.29.202) GNU Fortran (GCC) 12.2.0 * running under: macOS Monterey 12.7.1 * using session charset: UTF-8 * using option ‘--no-vignettes’ * checking for file ‘GeneTonic/DESCRIPTION’ ... OK * this is package ‘GeneTonic’ version ‘2.6.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 for sufficient/correct file permissions ... OK * checking whether package ‘GeneTonic’ 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 R 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 startup messages can be suppressed ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking data for ASCII and uncompressed saves ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘GeneTonic-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: gs_upset > ### Title: Upset plot for genesets > ### Aliases: gs_upset > > ### ** Examples > > library("macrophage") > library("DESeq2") Loading required package: S4Vectors Loading required package: stats4 Loading required package: BiocGenerics Attaching package: ‘BiocGenerics’ The following objects are masked from ‘package:stats’: IQR, mad, sd, var, xtabs The following objects are masked from ‘package:base’: Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, get, grep, grepl, intersect, is.unsorted, lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind, rownames, sapply, setdiff, sort, table, tapply, union, unique, unsplit, which.max, which.min Attaching package: ‘S4Vectors’ The following object is masked from ‘package:utils’: findMatches The following objects are masked from ‘package:base’: I, expand.grid, unname Loading required package: IRanges Loading required package: GenomicRanges Loading required package: GenomeInfoDb Loading required package: SummarizedExperiment Loading required package: MatrixGenerics Loading required package: matrixStats Attaching package: ‘MatrixGenerics’ The following objects are masked from ‘package:matrixStats’: colAlls, colAnyNAs, colAnys, colAvgsPerRowSet, colCollapse, colCounts, colCummaxs, colCummins, colCumprods, colCumsums, colDiffs, colIQRDiffs, colIQRs, colLogSumExps, colMadDiffs, colMads, colMaxs, colMeans2, colMedians, colMins, colOrderStats, colProds, colQuantiles, colRanges, colRanks, colSdDiffs, colSds, colSums2, colTabulates, colVarDiffs, colVars, colWeightedMads, colWeightedMeans, colWeightedMedians, colWeightedSds, colWeightedVars, rowAlls, rowAnyNAs, rowAnys, rowAvgsPerColSet, rowCollapse, rowCounts, rowCummaxs, rowCummins, rowCumprods, rowCumsums, rowDiffs, rowIQRDiffs, rowIQRs, rowLogSumExps, rowMadDiffs, rowMads, rowMaxs, rowMeans2, rowMedians, rowMins, rowOrderStats, rowProds, rowQuantiles, rowRanges, rowRanks, rowSdDiffs, rowSds, rowSums2, rowTabulates, rowVarDiffs, rowVars, rowWeightedMads, rowWeightedMeans, rowWeightedMedians, rowWeightedSds, rowWeightedVars Loading required package: Biobase Welcome to Bioconductor Vignettes contain introductory material; view with 'browseVignettes()'. To cite Bioconductor, see 'citation("Biobase")', and for packages 'citation("pkgname")'. Attaching package: ‘Biobase’ The following object is masked from ‘package:MatrixGenerics’: rowMedians The following objects are masked from ‘package:matrixStats’: anyMissing, rowMedians > library("org.Hs.eg.db") Loading required package: AnnotationDbi > library("AnnotationDbi") > > # dds object > data("gse", package = "macrophage") > dds_macrophage <- DESeqDataSet(gse, design = ~ line + condition) using counts and average transcript lengths from tximeta > rownames(dds_macrophage) <- substr(rownames(dds_macrophage), 1, 15) > dds_macrophage <- estimateSizeFactors(dds_macrophage) using 'avgTxLength' from assays(dds), correcting for library size > > # annotation object > anno_df <- data.frame( + gene_id = rownames(dds_macrophage), + gene_name = mapIds(org.Hs.eg.db, + keys = rownames(dds_macrophage), + column = "SYMBOL", + keytype = "ENSEMBL" + ), + stringsAsFactors = FALSE, + row.names = rownames(dds_macrophage) + ) 'select()' returned 1:many mapping between keys and columns > > # res object > data(res_de_macrophage, package = "GeneTonic") > res_de <- res_macrophage_IFNg_vs_naive > > # res_enrich object > data(res_enrich_macrophage, package = "GeneTonic") > res_enrich <- shake_topGOtableResult(topgoDE_macrophage_IFNg_vs_naive) Found 500 gene sets in `topGOtableResult` object. Converting for usage in GeneTonic... > res_enrich <- get_aggrscores(res_enrich, res_de, anno_df) > gs_upset(res_enrich, + n_gs = 10 + ) Error in `plot_theme()`: ! The `legend.text.align` theme element is not defined in the element hierarchy. Backtrace: ▆ 1. ├─base (local) ``(x) 2. └─patchwork:::print.patchwork(x) 3. └─patchwork:::build_patchwork(plot, plot$layout$guides %||% "auto") 4. └─base::lapply(x$plots, plot_table, guides = guides) 5. ├─patchwork (local) FUN(X[[i]], ...) 6. └─patchwork:::plot_table.ggplot(X[[i]], ...) 7. └─ggplot2::ggplotGrob(x) 8. ├─ggplot2::ggplot_gtable(ggplot_build(x)) 9. └─ggplot2:::ggplot_gtable.ggplot_built(ggplot_build(x)) 10. └─ggplot2:::plot_theme(plot) 11. └─ggplot2:::validate_theme(theme) 12. └─base::mapply(...) 13. └─ggplot2 (local) ``(...) 14. └─cli::cli_abort(...) 15. └─rlang::abort(...) Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ OK * checking for unstated dependencies in vignettes ... OK * checking package vignettes in ‘inst/doc’ ... OK * checking running R code from vignettes ... SKIPPED * checking re-building of vignette outputs ... SKIPPED * checking PDF version of manual ... OK * DONE Status: 1 ERROR See ‘/Users/biocbuild/bbs-3.18-bioc/meat/GeneTonic.Rcheck/00check.log’ for details.