- using R Under development (unstable) (2025-12-23 r89222 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
- checking for file 'intervalaverage/DESCRIPTION' ... OK
- this is package 'intervalaverage' version '0.8.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 'intervalaverage' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 14.3.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' 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 ... [0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [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 ... [3s] 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 LazyData ... INFO
'LazyData' is specified without a 'data' directory
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [1s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [19s] ERROR
Running 'testthat.R' [18s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(intervalaverage)
Loading required package: data.table
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
>
> test_check("intervalaverage")
Saving _problems/test-intervalintersect-61.R
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 56 ]
══ Skipped tests (3) ═══════════════════════════════════════════════════════════
• On CRAN (3): 'test-intervalaverage_functions.R:762:3',
'test-intervalaverage_functions.R:829:3', 'test-performance.R:10:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-intervalintersect.r:61:1'): intervalintersect ──────────────────
Error in ``[.data.table`(addr_history, , `:=`(addr_id, paste0(ppt_id, "_", as.numeric(as.factor(location_id)))), by = ppt_id)`: attempt access index 4/4 in VECTOR_ELT
Backtrace:
▆
1. ├─...[] at test-intervalintersect.r:61:1
2. └─data.table:::`[.data.table`(...) at test-intervalintersect.r:61:1
[ FAIL 1 | WARN 0 | SKIP 3 | PASS 56 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [14s] ERROR
Error(s) in re-building vignettes:
--- re-building 'intervalaverage-intro.Rmd' using rmarkdown
Quitting from intervalaverage-intro.Rmd:479-503 [unnamed-chunk-31]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 4/4 in VECTOR_ELT
---
Backtrace:
▆
1. ├─...[]
2. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'intervalaverage-intro.Rmd' failed with diagnostics:
attempt access index 4/4 in VECTOR_ELT
--- failed re-building 'intervalaverage-intro.Rmd'
--- re-building 'intervalaverage-technicaloverview.Rmd' using rmarkdown
--- finished re-building 'intervalaverage-technicaloverview.Rmd'
SUMMARY: processing the following file failed:
'intervalaverage-intro.Rmd'
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [2s] OK
- DONE
Status: 2 ERRORs