- using R version 4.6.2 (2026-10-29 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-11-21 12:36:34 UTC
- checking for file 'vecvec/DESCRIPTION' ... OK
- this is package 'vecvec' version '1.4.0'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'vecvec' can be installed ... OK
See the install log for details.
- used C compiler: 'gcc.exe (GCC) 14.3.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking whether startup messages can be suppressed ... [1s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [5s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking examples ... [2s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [14s] ERROR
Running 'testthat.R' [14s]
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 ──
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) ──────
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 ──
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 ──
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 ────
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) ──
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 ────────────────────────────────
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
- checking PDF version of manual ... [19s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR