CRAN Package Check Results for Package listarrays

Last updated on 2020-01-23 09:52:05 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 2.93 25.75 28.68 OK
r-devel-linux-x86_64-debian-gcc 0.3.0 2.31 20.71 23.02 OK
r-devel-linux-x86_64-fedora-clang 0.3.0 35.97 OK
r-devel-linux-x86_64-fedora-gcc 0.3.0 34.87 OK
r-devel-windows-ix86+x86_64 0.3.0 8.00 58.00 66.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.3.0 12.00 52.00 64.00 OK
r-patched-linux-x86_64 0.3.0 2.10 23.59 25.69 OK
r-patched-solaris-x86 0.3.0 47.10 OK
r-release-linux-x86_64 0.3.0 1.77 23.83 25.60 OK
r-release-windows-ix86+x86_64 0.3.0 6.00 50.00 56.00 OK
r-release-osx-x86_64 0.3.0 OK
r-oldrel-windows-ix86+x86_64 0.3.0 3.00 35.00 38.00 ERROR
r-oldrel-osx-x86_64 0.3.0 ERROR

Additional issues

noSuggests

Check Details

Version: 0.3.0
Check: R code for possible problems
Result: NOTE
    split_along_dim: no visible global function definition for 'asplit'
    Undefined global functions or variables:
     asplit
Flavors: r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.3.0
Check: examples
Result: ERROR
    Running examples in 'listarrays-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: map_along_dim
    > ### Title: Apply a function across subsets along an array dimension
    > ### Aliases: map_along_dim map_along_rows map_along_cols
    >
    > ### ** Examples
    >
    > X <- matrix2(letters[1:15], ncol = 3)
    >
    > apply(X, 1, function(x) paste(x, collapse = "")) # simplifies to a vector
    [1] "abc" "def" "ghi" "jkl" "mno"
    > map_along_dim(X, 1, ~paste(.x, collapse = "")) # returns a list
    Error in asplit(as.array(X), which_dim) :
     could not find function "asplit"
    Calls: map_along_dim -> lapply -> split_along_dim
    Execution halted
Flavors: r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.3.0
Check: tests
Result: ERROR
     Running 'testthat.R' [3s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(listarrays)
     >
     > test_check("listarrays")
     -- 1. Error: specifying `which_dim` by name works (@test-dimnames.R#68) -------
     could not find function "asplit"
     Backtrace:
     1. testthat::expect_identical(...)
     4. listarrays::split_along_dim(x, "axis2")
    
     -- 2. Error: map_along_dim (@test-map.R#8) ------------------------------------
     could not find function "asplit"
     Backtrace:
     1. testthat::expect_identical(...)
     4. listarrays::map_along_rows(A, ~paste(.x, collapse = ""))
     5. listarrays::map_along_dim(X, 1L, .f, ...)
     7. listarrays::split_along_dim(X, .dim)
    
     -- 3. Error: split_along_dim (@test-split.R#6) --------------------------------
     could not find function "asplit"
     Backtrace:
     1. testthat::expect_length(split_along_dim(x, d), dim(x)[d])
     4. listarrays::split_along_dim(x, d)
    
     -- 4. Error: split* works recursively (@test-split.R#30) ----------------------
     could not find function "asplit"
     Backtrace:
     1. listarrays::split_along_rows(list(x1, x2, x3))
     2. listarrays::split_along_dim(X, 1L, depth = depth)
     3. base::lapply(...)
     4. listarrays:::FUN(X[[i]], ...)
     5. listarrays::split_along_dim(x, which_dim, depth = depth - 1L)
    
     == testthat results ===========================================================
     [ OK: 74 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
     1. Error: specifying `which_dim` by name works (@test-dimnames.R#68)
     2. Error: map_along_dim (@test-map.R#8)
     3. Error: split_along_dim (@test-split.R#6)
     4. Error: split* works recursively (@test-split.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.3.0
Check: tests
Result: ERROR
     Running ‘testthat.R’ [2s/2s]
    Running the tests in ‘tests/testthat.R’ failed.
    Last 13 lines of output:
     1. listarrays::split_along_rows(list(x1, x2, x3))
     2. listarrays::split_along_dim(X, 1L, depth = depth)
     3. base::lapply(...)
     4. listarrays:::FUN(X[[i]], ...)
     5. listarrays::split_along_dim(x, which_dim, depth = depth - 1L)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 74 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 4 ]
     1. Error: specifying `which_dim` by name works (@test-dimnames.R#68)
     2. Error: map_along_dim (@test-map.R#8)
     3. Error: split_along_dim (@test-split.R#6)
     4. Error: split* works recursively (@test-split.R#30)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-osx-x86_64