Last updated on 2025-12-19 14:50:17 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 2.0.5 | 3.34 | 33.51 | 36.85 | NOTE | |
| r-devel-linux-x86_64-debian-gcc | 2.0.5 | 2.50 | 26.88 | 29.38 | NOTE | |
| r-devel-linux-x86_64-fedora-clang | 2.0.5 | OK | ||||
| r-devel-linux-x86_64-fedora-gcc | 2.0.5 | 6.00 | 46.95 | 52.95 | ERROR | |
| r-devel-windows-x86_64 | 2.0.5 | 4.00 | 51.00 | 55.00 | OK | |
| r-patched-linux-x86_64 | 2.0.5 | 3.02 | 28.98 | 32.00 | OK | |
| r-release-linux-x86_64 | 2.0.5 | 3.34 | 28.87 | 32.21 | OK | |
| r-release-macos-arm64 | 2.0.5 | OK | ||||
| r-release-macos-x86_64 | 2.0.5 | 2.00 | 31.00 | 33.00 | OK | |
| r-release-windows-x86_64 | 2.0.5 | 4.00 | 50.00 | 54.00 | OK | |
| r-oldrel-macos-arm64 | 2.0.5 | OK | ||||
| r-oldrel-macos-x86_64 | 2.0.5 | 2.00 | 29.00 | 31.00 | OK | |
| r-oldrel-windows-x86_64 | 2.0.5 | 4.00 | 59.00 | 63.00 | OK |
Version: 2.0.5
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Francois Ritter <ritter.francois@gmail.com>’
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Version: 2.0.5
Check: examples
Result: ERROR
Running examples in ‘ctbi-Ex.R’ failed
The error most likely occurred in:
> ### Name: ctbi
> ### Title: ctbi
> ### Aliases: ctbi
>
> ### ** Examples
>
> # example of the contaminated sunspot data
> example1 <- data.frame(year = 1700:1988,sunspot = as.numeric(sunspot.year))
> example1[sample(1:289,30),'sunspot'] <- NA # contaminate data with missing values
> example1[c(5,30,50),'sunspot'] <- c(-50,300,400) # contaminate data with outliers
> example1 <- example1[-(70:100),] # create gap in the data
> bin.period <- 11 # aggregation performed every 11 years (the year is numeric here)
> bin.side <- 1989 # give one side of a bin
> bin.FUN <- 'mean'
> bin.max.f.NA <- 0.2 # maximum of 20% of missing data per bin
> ylim <- c(0,Inf) # negative values are impossible
>
> list.main <- ctbi(example1,bin.period=bin.period,
+ bin.side=bin.side,bin.FUN=bin.FUN,
+ ylim=ylim,bin.max.f.NA=bin.max.f.NA)
Error in `[.data.table`(data0, , `:=`(time.bin, hidd.rel.time(x, seq.bin.side)), :
attempt access index 6/6 in VECTOR_ELT
Calls: ctbi -> [ -> [.data.table
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 2.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ctbi)
>
> test_check("ctbi")
Saving _problems/test_20211229-15.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_20211229.R:13:1'): (code run outside of `test_that()`) ─────────
Error in ``[.data.table`(data0, , `:=`(time.bin, hidd.rel.time(x, seq.bin.side)), by = index.bin)`: attempt access index 6/6 in VECTOR_ELT
Backtrace:
▆
1. └─ctbi::ctbi(...) at test_20211229.R:13:1
2. ├─data0[, `:=`(time.bin, hidd.rel.time(x, seq.bin.side)), by = index.bin]
3. └─data.table:::`[.data.table`(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 1 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc