CRAN Package Check Results for Package Matrix.utils

Last updated on 2020-01-28 18:50:29 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.7 7.79 65.15 72.94 ERROR
r-devel-linux-x86_64-debian-gcc 0.9.7 6.70 51.72 58.42 ERROR
r-devel-linux-x86_64-fedora-clang 0.9.7 98.80 ERROR
r-devel-linux-x86_64-fedora-gcc 0.9.7 89.79 ERROR
r-devel-windows-ix86+x86_64 0.9.7 16.00 69.00 85.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.9.7 19.00 77.00 96.00 OK
r-patched-linux-x86_64 0.9.7 OK
r-patched-solaris-x86 0.9.7 127.90 OK
r-release-linux-x86_64 0.9.7 7.23 59.94 67.17 OK
r-release-windows-ix86+x86_64 0.9.7 12.00 63.00 75.00 OK
r-release-osx-x86_64 0.9.7 OK
r-oldrel-windows-ix86+x86_64 0.9.7 10.00 84.00 94.00 OK
r-oldrel-osx-x86_64 0.9.7 OK

Check Details

Version: 0.9.7
Check: examples
Result: ERROR
    Running examples in 'Matrix.utils-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: rBind.fill
    > ### Title: Combine matrixes by row, fill in missing columns
    > ### Aliases: rBind.fill
    >
    > ### ** Examples
    >
    > df1 = data.frame(x = c(1,2,3), y = c(4,5,6))
    > rownames(df1) = c("a", "b", "c")
    > df2 = data.frame(x = c(7,8), z = c(9,10))
    > rownames(df2) = c("a", "d")
    > rBind.fill(df1,df2,fill=NA)
     x y z
    a 1 4 NA
    b 2 5 NA
    c 3 6 NA
    a1 7 NA 9
    d 8 NA 10
    > rBind.fill(as(df1,'Matrix'),df2,fill=0)
    5 x 3 Matrix of class "dgeMatrix"
     x y z
    a 1 4 0
    b 2 5 0
    c 3 6 0
    a 7 0 9
    d 8 0 10
    > rBind.fill(as.matrix(df1),as(df2,'Matrix'),c(1,2),fill=0)
    Error in class1Def@contains[[class2]] : no such index at level 1
    Calls: rBind.fill -> Reduce -> f -> rBind.fill.internal -> as -> is
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.9.7
Check: tests
Result: ERROR
     Running 'testthat.R' [5s/7s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(Matrix.utils)
     Loading required package: Matrix
     >
     > test_check("Matrix.utils")
     -- 1. Error: merge.Matrix can handle mixed types (@tests.R#49) ----------------
     no such index at level 1
     Backtrace:
     1. testthat::expect_is(...)
     4. Matrix.utils::merge.Matrix(...)
     5. methods::as(grr::extract(x, indices$x), out.class)
     7. methods::possibleExtends(thisClass, Class)
    
     -- 2. Error: rBind.fill can handle mixed types (@tests.R#59) ------------------
     no such index at level 1
     Backtrace:
     1. testthat::expect_is(...)
     4. Matrix.utils::rBind.fill(...)
     5. base::Reduce(...)
     6. Matrix.utils:::f(init, x[[i]])
     7. Matrix.utils:::rBind.fill.internal(x, y, fill, out.class)
     8. methods::as(y, out.class)
     9. methods::is(object, Class)
    
     == testthat results ===========================================================
     [ OK: 14 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: merge.Matrix can handle mixed types (@tests.R#49)
     2. Error: rBind.fill can handle mixed types (@tests.R#59)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.9.7
Check: tests
Result: ERROR
     Running ‘testthat.R’ [4s/7s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(Matrix.utils)
     Loading required package: Matrix
     >
     > test_check("Matrix.utils")
     ── 1. Error: merge.Matrix can handle mixed types (@tests.R#49) ────────────────
     no such index at level 1
     Backtrace:
     1. testthat::expect_is(...)
     4. Matrix.utils::merge.Matrix(...)
     5. methods::as(grr::extract(x, indices$x), out.class)
     7. methods::possibleExtends(thisClass, Class)
    
     ── 2. Error: rBind.fill can handle mixed types (@tests.R#59) ──────────────────
     no such index at level 1
     Backtrace:
     1. testthat::expect_is(...)
     4. Matrix.utils::rBind.fill(...)
     5. base::Reduce(...)
     6. Matrix.utils:::f(init, x[[i]])
     7. Matrix.utils:::rBind.fill.internal(x, y, fill, out.class)
     8. methods::as(y, out.class)
     9. methods::is(object, Class)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 14 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: merge.Matrix can handle mixed types (@tests.R#49)
     2. Error: rBind.fill can handle mixed types (@tests.R#59)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.9.7
Check: examples
Result: ERROR
    Running examples in ‘Matrix.utils-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: rBind.fill
    > ### Title: Combine matrixes by row, fill in missing columns
    > ### Aliases: rBind.fill
    >
    > ### ** Examples
    >
    > df1 = data.frame(x = c(1,2,3), y = c(4,5,6))
    > rownames(df1) = c("a", "b", "c")
    > df2 = data.frame(x = c(7,8), z = c(9,10))
    > rownames(df2) = c("a", "d")
    > rBind.fill(df1,df2,fill=NA)
     x y z
    a 1 4 NA
    b 2 5 NA
    c 3 6 NA
    a1 7 NA 9
    d 8 NA 10
    > rBind.fill(as(df1,'Matrix'),df2,fill=0)
    5 x 3 Matrix of class "dgeMatrix"
     x y z
    a 1 4 0
    b 2 5 0
    c 3 6 0
    a 7 0 9
    d 8 0 10
    > rBind.fill(as.matrix(df1),as(df2,'Matrix'),c(1,2),fill=0)
    Error in class1Def@contains[[class2]] : no such index at level 1
    Calls: rBind.fill -> Reduce -> f -> rBind.fill.internal -> as -> is
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.9.7
Check: tests
Result: ERROR
     Running ‘testthat.R’ [7s/50s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(Matrix.utils)
     Loading required package: Matrix
     >
     > test_check("Matrix.utils")
     ── 1. Error: merge.Matrix can handle mixed types (@tests.R#49) ────────────────
     no such index at level 1
     Backtrace:
     1. testthat::expect_is(...)
     4. Matrix.utils::merge.Matrix(...)
     5. methods::as(grr::extract(x, indices$x), out.class)
     7. methods::possibleExtends(thisClass, Class)
    
     ── 2. Error: rBind.fill can handle mixed types (@tests.R#59) ──────────────────
     no such index at level 1
     Backtrace:
     1. testthat::expect_is(...)
     4. Matrix.utils::rBind.fill(...)
     5. base::Reduce(...)
     6. Matrix.utils:::f(init, x[[i]])
     7. Matrix.utils:::rBind.fill.internal(x, y, fill, out.class)
     8. methods::as(y, out.class)
     9. methods::is(object, Class)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 14 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: merge.Matrix can handle mixed types (@tests.R#49)
     2. Error: rBind.fill can handle mixed types (@tests.R#59)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.9.7
Check: tests
Result: ERROR
     Running ‘testthat.R’ [6s/17s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(Matrix.utils)
     Loading required package: Matrix
     >
     > test_check("Matrix.utils")
     ── 1. Error: merge.Matrix can handle mixed types (@tests.R#49) ────────────────
     no such index at level 1
     Backtrace:
     1. testthat::expect_is(...)
     4. Matrix.utils::merge.Matrix(...)
     5. methods::as(grr::extract(x, indices$x), out.class)
     7. methods::possibleExtends(thisClass, Class)
    
     ── 2. Error: rBind.fill can handle mixed types (@tests.R#59) ──────────────────
     no such index at level 1
     Backtrace:
     1. testthat::expect_is(...)
     4. Matrix.utils::rBind.fill(...)
     5. base::Reduce(...)
     6. Matrix.utils:::f(init, x[[i]])
     7. Matrix.utils:::rBind.fill.internal(x, y, fill, out.class)
     8. methods::as(y, out.class)
     9. methods::is(object, Class)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 14 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 2 ]
     1. Error: merge.Matrix can handle mixed types (@tests.R#49)
     2. Error: rBind.fill can handle mixed types (@tests.R#59)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc