CRAN Package Check Results for Package lilikoi

Last updated on 2020-02-26 05:47:12 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 25.35 181.70 207.05 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 22.78 144.70 167.48 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 259.26 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 262.92 NOTE
r-devel-windows-ix86+x86_64 0.1.0 54.00 175.00 229.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.1.0 53.00 185.00 238.00 OK
r-patched-linux-x86_64 0.1.0 22.85 167.87 190.72 OK
r-release-linux-x86_64 0.1.0 22.04 169.97 192.01 OK
r-release-windows-ix86+x86_64 0.1.0 37.00 176.00 213.00 OK
r-release-osx-x86_64 0.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 30.00 173.00 203.00 OK
r-oldrel-osx-x86_64 0.1.0 NOTE

Check Details

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in 'lilikoi-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: lilikoi.get_pd_scores
    > ### Title: A lilikoi.get_pd_scores Function
    > ### Aliases: lilikoi.get_pd_scores
    >
    > ### ** Examples
    >
    > filename <- system.file("extdata", "plasma_breast_cancer.csv", package = "lilikoi")
    > data <- read.csv(file = filename, check.names = FALSE, row.names = 1)[, 1:20]
    > metaboliteNames <- colnames(data)[-1]
    > matches <- lilikoi.metab_to_pathway(metaboliteNames, "name")
    [1] "18 out of 19 Matched metabolites 90 %"
    [1] "1 out of 19 UnMatched metabolites 0 %"
    > PDSmatrix <- lilikoi.get_pd_scores(data, matches, lilikoi::data.smpdb[1:23,], maxit = 1)
    Warning in function_list[[i]](value) : NAs introduced by coercion
    robust_score_bydist. min_exp= 0 , min_std= 0
    Error in matrix(0, attempts, m) : invalid 'ncol' value (too large or NA)
    Calls: lilikoi.get_pd_scores -> .quantify_pathways_deregulation -> matrix
    Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [12s/14s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(lilikoi)
     >
     > test_check("lilikoi")
     [1] "18 out of 19 Matched metabolites 90 %"
     [1] "1 out of 19 UnMatched metabolites 0 %"
     robust_score_bydist. min_exp= 0 , min_std= 0
     -- 1. Error: full pipeline works (@test-all.r#12) -----------------------------
     invalid 'ncol' value (too large or NA)
     Backtrace:
     1. lilikoi::lilikoi.get_pd_scores(...)
     2. lilikoi:::.quantify_pathways_deregulation(...)
     3. base::matrix(0, attempts, m)
    
     [1] "5 out of 5 Matched metabolites 100 %"
     [1] "0 out of 5 UnMatched metabolites 0 %"
     [1] "Over half of the compound IDs could not be matched to our database. Please make sure that correct compound IDs or common compound names are used."
     [1] "1 out of 4 Matched metabolites 60 %"
     [1] "3 out of 4 UnMatched metabolites 40 %"
     [1] "5 out of 5 Matched metabolites 100 %"
     [1] "0 out of 5 UnMatched metabolites 0 %"
     [1] "4 out of 5 Matched metabolites 80 %"
     [1] "1 out of 5 UnMatched metabolites 20 %"
     [1] "1 out of 1 Matched metabolites 100 %"
     [1] "0 out of 1 UnMatched metabolites 0 %"
     == testthat results ===========================================================
     [ OK: 4 | SKIPPED: 0 | WARNINGS: 1 | FAILED: 1 ]
     1. Error: full pipeline works (@test-all.r#12)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.1.0
Check: installed package size
Result: NOTE
     installed size is 5.0Mb
     sub-directories of 1Mb or more:
     data 3.8Mb
     extdata 1.1Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.0
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘Matrix’ ‘devtools’ ‘e1071’ ‘glmnet’ ‘hash’ ‘pamr’ ‘randomForest’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.1.0
Check: data for non-ASCII characters
Result: NOTE
     Note: found 3837 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-release-osx-x86_64, r-oldrel-osx-x86_64