- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
Debian clang version 21.1.7 (1)
Debian flang version 21.1.7 (1)
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘DTSg/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘DTSg’ version ‘2.0.0’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘DTSg’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] OK
- checking whether startup messages can be suppressed ... [0s/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 ... [6s/8s] OK
- checking Rd files ... [1s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [8s/8s] ERROR
Running examples in ‘DTSg-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: rowaggregate.DTSg
> ### Title: Aggregate values row-wise
> ### Aliases: rowaggregate.DTSg rowaggregate raggregate
>
> ### ** Examples
>
> # new DTSg object
> DT <- data.table::data.table(
+ date = flow$date,
+ flow1 = flow$flow - abs(rnorm(nrow(flow))),
+ flow2 = flow$flow,
+ flow3 = flow$flow + abs(rnorm(nrow(flow)))
+ )
> x <- DTSg$new(values = DT)
>
> # mean and standard deviation of multiple measurements per timestamp
> ## R6 method
> x$rowaggregate(
+ resultCols = "flow",
+ fun = list(mean = mean, sd = sd)
+ )$print()
Error in `[.data.table`(private$.values, , `:=`((resultCols), eval(expr)), :
attempt access index 4/4 in VECTOR_ELT
Calls: <Anonymous> -> <Anonymous> -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘tinytest.R’ [4s/4s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
> if (requireNamespace("tinytest", quietly = TRUE)) {
+ tinytest::test_package("DTSg")
+ }
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
test_DTSg.R................... 0 tests
test_DTSg.R................... 1 tests [0;32mOK [0m
test_DTSg.R................... 2 tests [0;32mOK [0m .n column calculated disregarding any missing values.
test_DTSg.R................... 3 tests [0;32mOK [0m .n column calculated disregarding any missing values.
test_DTSg.R................... 4 tests [0;32mOK [0m .n column calculated disregarding any missing values.
test_DTSg.R................... 5 tests [0;32mOK [0m .n column calculated disregarding any missing values.
test_DTSg.R................... 6 tests [0;32mOK [0m
test_DTSg.R................... 6 tests [0;32mOK [0m
test_DTSg.R................... 7 tests [0;32mOK [0m .n column calculated from .dateTime column.
test_DTSg.R................... 8 tests [0;32mOK [0m .n column calculated from .dateTime column.
test_DTSg.R................... 9 tests [0;32mOK [0m
test_DTSg.R................... 9 tests [0;32mOK [0m .n column calculated from .dateTime column.
test_DTSg.R................... 10 tests [0;32mOK [0m .n column calculated from .dateTime column.
test_DTSg.R................... 11 tests [0;32mOK [0m
test_DTSg.R................... 12 tests [0;32mOK [0m
test_DTSg.R................... 13 tests [0;32mOK [0m
test_DTSg.R................... 14 tests [0;32mOK [0m
test_DTSg.R................... 15 tests [0;32mOK [0m
test_DTSg.R................... 16 tests [0;32mOK [0m
test_DTSg.R................... 17 tests [0;32mOK [0m
test_DTSg.R................... 18 tests [0;32mOK [0m
test_DTSg.R................... 19 tests [0;32mOK [0m
test_DTSg.R................... 20 tests [0;32mOK [0m
test_DTSg.R................... 21 tests [0;32mOK [0m
test_DTSg.R................... 22 tests [0;32mOK [0m
test_DTSg.R................... 23 tests [0;32mOK [0m
test_DTSg.R................... 24 tests [0;32mOK [0m
test_DTSg.R................... 25 tests [0;32mOK [0m
test_DTSg.R................... 26 tests [0;32mOK [0m
test_DTSg.R................... 27 tests [0;32mOK [0m
test_DTSg.R................... 28 tests [0;32mOK [0m
test_DTSg.R................... 29 tests [0;32mOK [0m
test_DTSg.R................... 30 tests [0;32mOK [0m
test_DTSg.R................... 31 tests [0;32mOK [0m
test_DTSg.R................... 32 tests [0;32mOK [0m Error in `[.data.table`(private$.values, , `:=`((resultCols), eval(expr)), :
attempt access index 4/4 in VECTOR_ELT
Calls: <Anonymous> ... fun -> <Anonymous> -> <Anonymous> -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [9s/11s] OK
- checking PDF version of manual ... [6s/8s] OK
- checking HTML version of manual ... [5s/7s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 2 ERRORs