CRAN Package Check Results for Package testComplexity

Last updated on 2020-10-06 06:46:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.1 4.58 145.98 150.56 OK
r-devel-linux-x86_64-debian-gcc 0.1.1 3.25 112.67 115.92 OK
r-devel-linux-x86_64-fedora-clang 0.1.1 190.01 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.1 182.95 NOTE
r-patched-linux-x86_64 0.1.1 4.44 145.32 149.76 OK
r-patched-solaris-x86 0.1.1 273.50 ERROR
r-release-linux-x86_64 0.1.0 4.23 137.55 141.78 ERROR
r-release-macos-x86_64 0.1.1 NOTE
r-release-windows-ix86+x86_64 0.1.1 9.00 205.00 214.00 OK
r-oldrel-macos-x86_64 0.1.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 10.00 231.00 241.00 OK

Check Details

Version: 0.1.1
Check: dependencies in R code
Result: NOTE
    Namespace in Imports field not imported from: ‘utils’
     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-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.1
Check: tests
Result: ERROR
     Running ‘testthat.R’ [177s/204s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testComplexity)
     >
     > if(require(testthat))
     + test_check("testComplexity")
     Loading required package: testthat
     [1] "linear"
     ── 1. Failure: PeakSegOptimal::PeakSegPDPA function test (@test-testsforConstrai
     Complexity mismatch: Expected loglinear complexity, instead of the predicted linear complexity from asymptoticTimeComplexityClass(timings.df).
    
     [1] "linear"
     [1] "linear"
     [1] "loglinear"
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 25 | SKIPPED: 3 | WARNINGS: 802 | FAILED: 1 ]
     1. Failure: PeakSegOptimal::PeakSegPDPA function test (@test-testsforConstrainedchangepointmodelalgos.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘testComplexity-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: asymptoticMemoryComplexityClass
    > ### Title: Asymptotic Memory Complexity Classifying function
    > ### Aliases: asymptoticMemoryComplexityClass
    >
    > ### ** Examples
    >
    > # Allocating a square matrix of N*N dimensions against a set of increasing input data sizes:
    > input.sizes = 10^seq(1, 3, by = 0.1)
    > memory.usage.data <- asymptoticMemoryUsage(matrix(data = N:N, nrow = N, ncol = N), input.sizes)
    Error: Memory profiling not available in this version of R
    Execution halted
Flavor: r-release-linux-x86_64

Version: 0.1.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [88s/97s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testComplexity)
     >
     > if(require(testthat))
     + test_check("testComplexity")
     Loading required package: testthat
     [1] "loglinear"
     [1] "loglinear"
     ── 1. Error: Return value test for asymptoticMemoryUsage (@test-testsfortestComp
     Memory profiling not available in this version of R
     Backtrace:
     1. testComplexity::asymptoticMemoryUsage(rpois(N, 10), data.sizes = 10)
     2. base::lapply(...)
     3. testComplexity:::FUN(X[[i]], ...)
     4. bench::bench_memory(fun.obj(data.sizes[i]))
    
     ── 2. Error: Return value test for asymptoticMemoryComplexityClass (@test-testsf
     Memory profiling not available in this version of R
     Backtrace:
     1. testComplexity::asymptoticMemoryUsage(...)
     2. base::lapply(...)
     3. testComplexity:::FUN(X[[i]], ...)
     4. bench::bench_memory(fun.obj(data.sizes[i]))
    
     [1] "loglinear"
     [1] "linear"
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 26 | SKIPPED: 1 | WARNINGS: 802 | FAILED: 2 ]
     1. Error: Return value test for asymptoticMemoryUsage (@test-testsfortestComplexity.R#72)
     2. Error: Return value test for asymptoticMemoryComplexityClass (@test-testsfortestComplexity.R#85)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-linux-x86_64