CRAN Package Check Results for Package vecvec

Last updated on 2026-11-21 05:50:33 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.0 6.38 66.83 73.21 ERROR
r-devel-linux-x86_64-debian-gcc 1.4.0 5.08 49.68 54.76 ERROR
r-devel-linux-x86_64-fedora-clang 1.4.0 47.56 ERROR
r-devel-linux-x86_64-fedora-gcc 1.4.0 5.00 44.41 49.41 ERROR
r-devel-windows-x86_64 1.4.0 10.00 136.00 146.00 OK
r-patched-linux-x86_64 1.4.0 6.47 48.14 54.61 OK
r-release-linux-x86_64 1.4.0 5.91 47.47 53.38 OK
r-release-macos-arm64 1.4.0 2.00 16.00 18.00 OK
r-release-macos-x86_64 1.4.0 6.00 51.00 57.00 OK
r-release-windows-x86_64 1.4.0 13.00 70.00 83.00 OK
r-oldrel-macos-arm64 1.4.0 3.00 21.00 24.00 OK
r-oldrel-macos-x86_64 1.4.0 6.00 53.00 59.00 OK
r-oldrel-windows-x86_64 1.4.0 11.00 82.00 93.00 OK

Check Details

Version: 1.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/17s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(vecvec) Attaching package: 'vecvec' The following objects are masked from 'package:stats': cor, cov, var > > test_check("vecvec") Saving _problems/test-array-282.R Saving _problems/test-array-333.R Saving _problems/test-array-353.R Saving _problems/test-array-374.R Saving _problems/test-array-383.R Saving _problems/test-predicates-137.R Saving _problems/test-predicates-142.R Saving _problems/test-predicates-147.R Saving _problems/test-predicates-152.R Saving _problems/test-predicates-157.R Saving _problems/test-predicates-162.R Saving _problems/test-vctrs-22.R [ FAIL 12 | WARN 0 | SKIP 8 | PASS 551 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-format.R:9:1', 'test-format.R:13:1', 'test-format.R:17:1', 'test-format.R:21:1', 'test-format.R:28:1', 'test-format.R:37:1', 'test-vctrs.R:400:3', 'test-vctrs.R:407:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-array.R:282:3'): [i, j]<- preserves dim after replacement ──── Expected `dim(x)` to equal `c(2L, 13L)`. Differences: `actual` is NULL `expected` is an integer vector (2, 13) ── Failure ('test-array.R:333:3'): [i, j]<- works on a 2D mixed vecvec ───────── Expected `dim(x)` to equal `c(8L, 13L)`. Differences: `actual` is NULL `expected` is an integer vector (8, 13) ── Failure ('test-array.R:353:3'): [i, j, k]<- preserves dim after replacement in a 3D array ── Expected `dim(x)` to equal `c(2L, 3L, 4L)`. Differences: `actual` is NULL `expected` is an integer vector (2, 3, 4) ── Failure ('test-array.R:374:3'): [i, j, k]<- works on a 3D mixed vecvec ────── Expected `dim(x)` to equal `c(8L, 3L, 4L)`. Differences: `actual` is NULL `expected` is an integer vector (8, 3, 4) ── Failure ('test-array.R:383:3'): [i]<- on a 1D dim-annotated vecvec replaces the element and preserves dim ── Expected `dim(x)` to equal 26L. Differences: `actual` is NULL `expected` is an integer vector (26) ── Error ('test-predicates.R:137:3'): is.na() returns FALSE for vecvec with no NAs ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, FALSE, FALSE)) at test-predicates.R:137:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:142:3'): is.na() detects NA in a vecvec (#8) ────── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, TRUE, FALSE)) at test-predicates.R:142:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:147:3'): is.na() detects NAs at the start and end of a vecvec ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(TRUE, FALSE, TRUE)) at test-predicates.R:147:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:152:3'): is.na() returns all TRUE for an all-NA vecvec ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(TRUE, TRUE, TRUE)) at test-predicates.R:152:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:157:3'): is.na() works on a length-1 NA vecvec ──── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_true(is.na(x)) at test-predicates.R:157:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:162:3'): is.na() returns TRUE for NaN (NaN is also NA) ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, TRUE, FALSE)) at test-predicates.R:162:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-vctrs.R:22:3'): vctrs::vec_init ──────────────────────────────── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_all_true(is.na(vec)) at test-vctrs.R:22:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(vec) 5. └─vecvec (local) `is.na.vecvec::vecvec`(vec) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) [ FAIL 12 | WARN 0 | SKIP 8 | PASS 551 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/10s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(vecvec) Attaching package: 'vecvec' The following objects are masked from 'package:stats': cor, cov, var > > test_check("vecvec") Saving _problems/test-array-282.R Saving _problems/test-array-333.R Saving _problems/test-array-353.R Saving _problems/test-array-374.R Saving _problems/test-array-383.R Saving _problems/test-predicates-137.R Saving _problems/test-predicates-142.R Saving _problems/test-predicates-147.R Saving _problems/test-predicates-152.R Saving _problems/test-predicates-157.R Saving _problems/test-predicates-162.R Saving _problems/test-vctrs-22.R [ FAIL 12 | WARN 0 | SKIP 8 | PASS 551 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-format.R:9:1', 'test-format.R:13:1', 'test-format.R:17:1', 'test-format.R:21:1', 'test-format.R:28:1', 'test-format.R:37:1', 'test-vctrs.R:400:3', 'test-vctrs.R:407:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-array.R:282:3'): [i, j]<- preserves dim after replacement ──── Expected `dim(x)` to equal `c(2L, 13L)`. Differences: `actual` is NULL `expected` is an integer vector (2, 13) ── Failure ('test-array.R:333:3'): [i, j]<- works on a 2D mixed vecvec ───────── Expected `dim(x)` to equal `c(8L, 13L)`. Differences: `actual` is NULL `expected` is an integer vector (8, 13) ── Failure ('test-array.R:353:3'): [i, j, k]<- preserves dim after replacement in a 3D array ── Expected `dim(x)` to equal `c(2L, 3L, 4L)`. Differences: `actual` is NULL `expected` is an integer vector (2, 3, 4) ── Failure ('test-array.R:374:3'): [i, j, k]<- works on a 3D mixed vecvec ────── Expected `dim(x)` to equal `c(8L, 3L, 4L)`. Differences: `actual` is NULL `expected` is an integer vector (8, 3, 4) ── Failure ('test-array.R:383:3'): [i]<- on a 1D dim-annotated vecvec replaces the element and preserves dim ── Expected `dim(x)` to equal 26L. Differences: `actual` is NULL `expected` is an integer vector (26) ── Error ('test-predicates.R:137:3'): is.na() returns FALSE for vecvec with no NAs ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, FALSE, FALSE)) at test-predicates.R:137:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:142:3'): is.na() detects NA in a vecvec (#8) ────── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, TRUE, FALSE)) at test-predicates.R:142:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:147:3'): is.na() detects NAs at the start and end of a vecvec ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(TRUE, FALSE, TRUE)) at test-predicates.R:147:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:152:3'): is.na() returns all TRUE for an all-NA vecvec ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(TRUE, TRUE, TRUE)) at test-predicates.R:152:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:157:3'): is.na() works on a length-1 NA vecvec ──── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_true(is.na(x)) at test-predicates.R:157:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:162:3'): is.na() returns TRUE for NaN (NaN is also NA) ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, TRUE, FALSE)) at test-predicates.R:162:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-vctrs.R:22:3'): vctrs::vec_init ──────────────────────────────── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_all_true(is.na(vec)) at test-vctrs.R:22:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(vec) 5. └─vecvec (local) `is.na.vecvec::vecvec`(vec) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) [ FAIL 12 | WARN 0 | SKIP 8 | PASS 551 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(vecvec) Attaching package: 'vecvec' The following objects are masked from 'package:stats': cor, cov, var > > test_check("vecvec") Saving _problems/test-array-282.R Saving _problems/test-array-333.R Saving _problems/test-array-353.R Saving _problems/test-array-374.R Saving _problems/test-array-383.R Saving _problems/test-predicates-137.R Saving _problems/test-predicates-142.R Saving _problems/test-predicates-147.R Saving _problems/test-predicates-152.R Saving _problems/test-predicates-157.R Saving _problems/test-predicates-162.R Saving _problems/test-vctrs-22.R [ FAIL 12 | WARN 0 | SKIP 8 | PASS 551 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-format.R:9:1', 'test-format.R:13:1', 'test-format.R:17:1', 'test-format.R:21:1', 'test-format.R:28:1', 'test-format.R:37:1', 'test-vctrs.R:400:3', 'test-vctrs.R:407:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-array.R:282:3'): [i, j]<- preserves dim after replacement ──── Expected `dim(x)` to equal `c(2L, 13L)`. Differences: `actual` is NULL `expected` is an integer vector (2, 13) ── Failure ('test-array.R:333:3'): [i, j]<- works on a 2D mixed vecvec ───────── Expected `dim(x)` to equal `c(8L, 13L)`. Differences: `actual` is NULL `expected` is an integer vector (8, 13) ── Failure ('test-array.R:353:3'): [i, j, k]<- preserves dim after replacement in a 3D array ── Expected `dim(x)` to equal `c(2L, 3L, 4L)`. Differences: `actual` is NULL `expected` is an integer vector (2, 3, 4) ── Failure ('test-array.R:374:3'): [i, j, k]<- works on a 3D mixed vecvec ────── Expected `dim(x)` to equal `c(8L, 3L, 4L)`. Differences: `actual` is NULL `expected` is an integer vector (8, 3, 4) ── Failure ('test-array.R:383:3'): [i]<- on a 1D dim-annotated vecvec replaces the element and preserves dim ── Expected `dim(x)` to equal 26L. Differences: `actual` is NULL `expected` is an integer vector (26) ── Error ('test-predicates.R:137:3'): is.na() returns FALSE for vecvec with no NAs ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, FALSE, FALSE)) at test-predicates.R:137:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:142:3'): is.na() detects NA in a vecvec (#8) ────── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, TRUE, FALSE)) at test-predicates.R:142:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:147:3'): is.na() detects NAs at the start and end of a vecvec ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(TRUE, FALSE, TRUE)) at test-predicates.R:147:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:152:3'): is.na() returns all TRUE for an all-NA vecvec ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(TRUE, TRUE, TRUE)) at test-predicates.R:152:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:157:3'): is.na() works on a length-1 NA vecvec ──── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_true(is.na(x)) at test-predicates.R:157:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:162:3'): is.na() returns TRUE for NaN (NaN is also NA) ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, TRUE, FALSE)) at test-predicates.R:162:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-vctrs.R:22:3'): vctrs::vec_init ──────────────────────────────── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_all_true(is.na(vec)) at test-vctrs.R:22:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(vec) 5. └─vecvec (local) `is.na.vecvec::vecvec`(vec) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) [ FAIL 12 | WARN 0 | SKIP 8 | PASS 551 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.4.0
Check: tests
Result: ERROR Running ‘testthat.R’ [8s/17s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(vecvec) Attaching package: 'vecvec' The following objects are masked from 'package:stats': cor, cov, var > > test_check("vecvec") Saving _problems/test-array-282.R Saving _problems/test-array-333.R Saving _problems/test-array-353.R Saving _problems/test-array-374.R Saving _problems/test-array-383.R Saving _problems/test-predicates-137.R Saving _problems/test-predicates-142.R Saving _problems/test-predicates-147.R Saving _problems/test-predicates-152.R Saving _problems/test-predicates-157.R Saving _problems/test-predicates-162.R Saving _problems/test-vctrs-22.R [ FAIL 12 | WARN 0 | SKIP 8 | PASS 551 ] ══ Skipped tests (8) ═══════════════════════════════════════════════════════════ • On CRAN (8): 'test-format.R:9:1', 'test-format.R:13:1', 'test-format.R:17:1', 'test-format.R:21:1', 'test-format.R:28:1', 'test-format.R:37:1', 'test-vctrs.R:400:3', 'test-vctrs.R:407:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-array.R:282:3'): [i, j]<- preserves dim after replacement ──── Expected `dim(x)` to equal `c(2L, 13L)`. Differences: `actual` is NULL `expected` is an integer vector (2, 13) ── Failure ('test-array.R:333:3'): [i, j]<- works on a 2D mixed vecvec ───────── Expected `dim(x)` to equal `c(8L, 13L)`. Differences: `actual` is NULL `expected` is an integer vector (8, 13) ── Failure ('test-array.R:353:3'): [i, j, k]<- preserves dim after replacement in a 3D array ── Expected `dim(x)` to equal `c(2L, 3L, 4L)`. Differences: `actual` is NULL `expected` is an integer vector (2, 3, 4) ── Failure ('test-array.R:374:3'): [i, j, k]<- works on a 3D mixed vecvec ────── Expected `dim(x)` to equal `c(8L, 3L, 4L)`. Differences: `actual` is NULL `expected` is an integer vector (8, 3, 4) ── Failure ('test-array.R:383:3'): [i]<- on a 1D dim-annotated vecvec replaces the element and preserves dim ── Expected `dim(x)` to equal 26L. Differences: `actual` is NULL `expected` is an integer vector (26) ── Error ('test-predicates.R:137:3'): is.na() returns FALSE for vecvec with no NAs ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, FALSE, FALSE)) at test-predicates.R:137:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:142:3'): is.na() detects NA in a vecvec (#8) ────── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, TRUE, FALSE)) at test-predicates.R:142:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:147:3'): is.na() detects NAs at the start and end of a vecvec ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(TRUE, FALSE, TRUE)) at test-predicates.R:147:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:152:3'): is.na() returns all TRUE for an all-NA vecvec ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(TRUE, TRUE, TRUE)) at test-predicates.R:152:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:157:3'): is.na() works on a length-1 NA vecvec ──── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_true(is.na(x)) at test-predicates.R:157:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-predicates.R:162:3'): is.na() returns TRUE for NaN (NaN is also NA) ── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_equal(is.na(x), c(FALSE, TRUE, FALSE)) at test-predicates.R:162:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(x) 5. └─vecvec (local) `is.na.vecvec::vecvec`(x) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) ── Error ('test-vctrs.R:22:3'): vctrs::vec_init ──────────────────────────────── <objectNotFoundError/error/condition> Error in `get(as.character(FUN), mode = "function", envir = envir)`: object '.f' of mode 'function' was not found Backtrace: ▆ 1. ├─testthat::expect_all_true(is.na(vec)) at test-vctrs.R:22:3 2. │ └─testthat::quasi_label(enquo(object)) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::is.na(vec) 5. └─vecvec (local) `is.na.vecvec::vecvec`(vec) 6. ├─vecvec::unvecvec(vecvec_apply(x, is.na), ptype = logical()) 7. │ └─vecvec::is_vecvec(x) 8. │ └─S7::S7_inherits(x, class_vecvec) 9. │ └─S7:::class_inherits(x, class) 10. └─vecvec::vecvec_apply(x, is.na) 11. └─base::lapply(x@x, .f, ...) 12. └─base::match.fun(FUN) 13. └─base::get(as.character(FUN), mode = "function", envir = envir) [ FAIL 12 | WARN 0 | SKIP 8 | PASS 551 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc