CRAN Package Check Results for Package evolqg

Last updated on 2018-05-27 08:47:37 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2-5 29.37 354.55 383.92 NOTE
r-devel-linux-x86_64-debian-gcc 0.2-5 25.16 256.20 281.36 NOTE
r-devel-linux-x86_64-fedora-clang 0.2-5 458.27 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2-5 437.02 NOTE
r-devel-windows-ix86+x86_64 0.2-5 62.00 554.00 616.00 OK
r-patched-linux-x86_64 0.2-5 28.70 319.68 348.38 NOTE
r-patched-solaris-x86 0.2-5 503.30 NOTE
r-release-linux-x86_64 0.2-5 27.56 340.94 368.50 NOTE
r-release-windows-ix86+x86_64 0.2-5 68.00 733.00 801.00 OK
r-release-osx-x86_64 0.2-5 ERROR
r-oldrel-windows-ix86+x86_64 0.2-5 79.00 502.00 581.00 OK
r-oldrel-osx-x86_64 0.2-5 NOTE

Check Details

Version: 0.2-5
Check: compiled code
Result: NOTE
    File ‘evolqg/libs/evolqg.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.2-5
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘Rcpp’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 0.2-5
Check: examples
Result: ERROR
    Running examples in ‘evolqg-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: LModularity
    > ### Title: L Modularity
    > ### Aliases: LModularity
    >
    > ### ** Examples
    >
    > # A modular matrix:
    > modules = matrix(c(rep(c(1, 0, 0), each = 5),
    + rep(c(0, 1, 0), each = 5),
    + rep(c(0, 0, 1), each = 5)), 15)
    > cor.hypot = CreateHypotMatrix(modules)[[4]]
    > hypot.mask = matrix(as.logical(cor.hypot), 15, 15)
    > mod.cor = matrix(NA, 15, 15)
    > mod.cor[ hypot.mask] = runif(length(mod.cor[ hypot.mask]), 0.8, 0.9) # within-modules
    > mod.cor[!hypot.mask] = runif(length(mod.cor[!hypot.mask]), 0.3, 0.4) # between-modules
    > diag(mod.cor) = 1
    > mod.cor = (mod.cor + t(mod.cor))/2 # correlation matrices should be symmetric
    >
    > LModularity(mod.cor)
    Error in method(g, ...) :
     At optimal_modularity.c:85 : GLPK is not available, Unimplemented function call
    Calls: LModularity -> method
    Execution halted
Flavor: r-release-osx-x86_64

Version: 0.2-5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [173s/275s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     Loading required package: plyr
     ── 1. Error: LModularity resturn resonable results (@test.LModularity.r#12) ───
     At optimal_modularity.c:85 : GLPK is not available, Unimplemented function call
     1: expect_equal(modules, LModularity(mod.cor)[[2]]) at testthat/test.LModularity.r:12
     2: quasi_label(enquo(expected), expected.label)
     3: eval_bare(get_expr(quo), get_env(quo))
     4: LModularity(mod.cor)
     5: method(g, ...)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 20953 SKIPPED: 1 FAILED: 1
     1. Error: LModularity resturn resonable results (@test.LModularity.r#12)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-osx-x86_64