* using log directory 'd:/RCompile/CRANincoming/R-devel/ssdGSA.Rcheck' * using R Under development (unstable) (2024-07-02 r86866 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.2.0 GNU Fortran (GCC) 13.2.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'ssdGSA/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'ssdGSA' version '0.1.0' * package encoding: UTF-8 * checking CRAN incoming feasibility ... NOTE Maintainer: 'Xingpeng Li ' New submission Possibly misspelled words in DESCRIPTION: GSVA (7:79) NL (7:192) * 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 'ssdGSA' can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking for future file timestamps ... 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 loading without being on the library search path ... OK * checking use of S3 registration ... 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 ... [37s] NOTE avg_expression : cal.avg.logcpm: no visible binding for global variable 'gene' median_expression : cal.med.logcpm: no visible binding for global variable 'gene' median_expression : cal.med.logcpm: no visible binding for global variable '.' ssdGSA: no visible binding for global variable 'ES' ssdGSA: no visible binding for global variable 'gene' ssdGSA: no visible binding for global variable '.' ssdGSA: no visible binding for global variable 'cal_ES' ssdGSA_individual: no visible binding for global variable 'ES' ssdGSA_individual: no visible binding for global variable 'gene' ssdGSA_individual: no visible binding for global variable 'GS_pov' ssdGSA_individual: no visible binding for global variable 'GS_neg' ssdGSA_individual: no visible binding for global variable '.' ssdGSA_individual: no visible binding for global variable 'rowname' ssdGSA_individual: no visible global function definition for 'last_col' transform_ensembl_2_entrez: no visible binding for global variable 'gene' Undefined global functions or variables: . ES GS_neg GS_pov cal_ES gene last_col rowname * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... 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 LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... ERROR Running examples in 'ssdGSA-Ex.R' failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: ssdGSA > ### Title: Single Sample Directional Gene Set Analysis (ssdGSA) > ### Aliases: ssdGSA > ### Keywords: analysis gene set variation > > ### ** Examples > > > ssdGSA(Data = data_matrix_entrezID, + Gene_sets = gene_sets[c(1,2,4)], + Direction_matrix = direction_matrix, + GSA_weight = "group_weighted", + GSA_weighted_by = "sum.ES", + GSA_method = "gsva", + min.sz = 6, + max.sz = 2000, + mx.diff = TRUE + ) Warning messages: 100% (3/3) of gene sets have information missing in the data matrix for at least one gene; 0% (0/3) of gene sets have information missing in the direction matrix for at least one gene. TCELL.KEGG_T_CELL_RECEPTOR_SIGNALING_PATHWAY: 6.48% of genes (7/108) in this gene set have information missing in the data matrix; TLR.KEGG_TOLL_LIKE_RECEPTOR_SIGNALING_PATHWAY: 18.63% of genes (19/102) in this gene set have information missing in the data matrix; NEUROTROPHIN.KEGG_NEUROTROPHIN_SIGNALING_PATHWAY: 2.38% of genes (3/126) in this gene set have information missing in the data matrix; Note since more than 10 gene sets have missing information in the direction matrix, no detailed individual gene set missing information will be reported. Note: Running GSA for 3 gene sets using 'gsva' method with 'group_weighted' weights. Error in gsva(Data, Gene_sets_pov, method = GSA_method, min.sz = min.sz, : Calling gsva(expr=., gset.idx.list=., method=., ...) is defunct; use a method-specific parameter object (see '?gsva'). Calls: ssdGSA ... suppressMessages -> withCallingHandlers -> gsva -> gsva -> .Defunct Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... ERROR Running 'testthat.R' Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(ssdGSA) > > test_check("ssdGSA") Warning messages: 100% (10/10) of gene sets have information missing in the data matrix for at least one gene; 50% (5/10) of gene sets have information missing in the direction matrix for at least one gene. Note since more than 10 gene sets have missing information in the data matrix, no detailed individual gene set missing information will be reported. MAPK.KEGG_MAPK_SIGNALING_PATHWAY: 0.75% of genes (2/267) in this gene set have information missing in the direction matrix; CALCIUM.KEGG_CALCIUM_SIGNALING_PATHWAY: 0.56% of genes (1/178) in this gene set have information missing in the direction matrix; CHEMOKINE.KEGG_CHEMOKINE_SIGNALING_PATHWAY: 1.05% of genes (2/190) in this gene set have information missing in the direction matrix; GNRH.KEGG_GNRH_SIGNALING_PATHWAY: 0.99% of genes (1/101) in this gene set have information missing in the direction matrix; VEGF.KEGG_VEGF_SIGNALING_PATHWAY: 1.32% of genes (1/76) in this gene set have information missing in the direction matrix; Note: Running GSA for 10 gene sets using 'gsva' method with 'group_weighted' weights. Warning messages: 100% (10/10) of gene sets have information missing in the data matrix for at least one gene; 50% (5/10) of gene sets have information missing in the direction matrix for at least one gene. Note since more than 10 gene sets have missing information in the data matrix, no detailed individual gene set missing information will be reported. MAPK.KEGG_MAPK_SIGNALING_PATHWAY: 0.75% of genes (2/267) in this gene set have information missing in the direction matrix; CALCIUM.KEGG_CALCIUM_SIGNALING_PATHWAY: 0.56% of genes (1/178) in this gene set have information missing in the direction matrix; CHEMOKINE.KEGG_CHEMOKINE_SIGNALING_PATHWAY: 1.05% of genes (2/190) in this gene set have information missing in the direction matrix; GNRH.KEGG_GNRH_SIGNALING_PATHWAY: 0.99% of genes (1/101) in this gene set have information missing in the direction matrix; VEGF.KEGG_VEGF_SIGNALING_PATHWAY: 1.32% of genes (1/76) in this gene set have information missing in the direction matrix; Note: Running GSA for 10 gene sets using individual weights. [ FAIL 1 | WARN 0 | SKIP 1 | PASS 0 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): 'test-ssdGSA_individual.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ssdGSA.R:2:3'): ssdGSA works ─────────────────────────────────── Error in `gsva(Data, Gene_sets_pov, method = GSA_method, min.sz = min.sz, max.sz = max.sz, mx.diff = mx.diff)`: Calling gsva(expr=., gset.idx.list=., method=., ...) is defunct; use a method-specific parameter object (see '?gsva'). Backtrace: ▆ 1. └─ssdGSA::ssdGSA(...) at test-ssdGSA.R:2:3 2. ├─base::suppressMessages(...) 3. │ └─base::withCallingHandlers(...) 4. ├─GSVA::gsva(...) 5. └─GSVA::gsva(...) 6. └─base::.Defunct(new = "gsva()", package = "GSVA", msg = "Calling gsva(expr=., gset.idx.list=., method=., ...) is defunct; use a method-specific parameter object (see '?gsva').") [ FAIL 1 | WARN 0 | SKIP 1 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... ERROR Error(s) in re-building vignettes: --- re-building 'ssdGSA.Rmd' using rmarkdown Quitting from lines 96-106 [unnamed-chunk-7] (ssdGSA.Rmd) Error: processing vignette 'ssdGSA.Rmd' failed with diagnostics: Calling gsva(expr=., gset.idx.list=., method=., ...) is defunct; use a method-specific parameter object (see '?gsva'). --- failed re-building 'ssdGSA.Rmd' SUMMARY: processing the following file failed: 'ssdGSA.Rmd' Error: Vignette re-building failed. Execution halted * checking PDF version of manual ... [13s] OK * checking HTML version of manual ... OK * DONE Status: 3 ERRORs, 2 NOTEs