- 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 ‘irg/DESCRIPTION’ ... OK
- this is package ‘irg’ version ‘0.1.6’
- 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 ‘irg’ 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/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] 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 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 ... [4s/6s] OK
- checking Rd files ... [0s/0s] 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 R/sysdata.rda ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [1s/1s] ERROR
Running examples in ‘irg-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: calc_irg
> ### Title: IRG
> ### Aliases: calc_irg
>
> ### ** Examples
>
> # Load data.table
> library(data.table)
Attaching package: ‘data.table’
The following object is masked from ‘package:base’:
%notin%
>
> # Read in example data
> ndvi <- fread(system.file("extdata", "sampled-ndvi-MODIS-MOD13Q1.csv", package = "irg"))
>
> # Filter and scale NDVI time series
> filter_ndvi(ndvi)
Error in `[.data.table`(DT, , `:=`(winter, stats::quantile(filtered, probs = probs, :
attempt access index 6/6 in VECTOR_ELT
Calls: filter_ndvi -> filter_winter -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [1s/2s] ERROR
Running ‘tinytest.R’ [1s/2s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
>
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ tinytest::test_package("irg")
+ }
Attaching package: 'data.table'
The following object is masked from 'package:base':
%notin%
test-filter.R................. 0 tests
test-filter.R................. 0 tests
test-filter.R................. 0 tests
test-filter.R................. 0 tests
test-filter.R................. 1 tests [0;32mOK [0m
test-filter.R................. 2 tests [0;32mOK [0m
test-filter.R................. 3 tests [0;32mOK [0m
test-filter.R................. 3 tests [0;32mOK [0m
test-filter.R................. 4 tests [0;32mOK [0m
test-filter.R................. 4 tests [0;32mOK [0m
test-filter.R................. 5 tests [0;32mOK [0m
test-filter.R................. 6 tests [0;32mOK [0m
test-filter.R................. 7 tests [0;32mOK [0m
test-filter.R................. 8 tests [0;32mOK [0m
test-filter.R................. 9 tests [0;32mOK [0m
test-filter.R................. 9 tests [0;32mOK [0m
test-filter.R................. 10 tests [0;31m1 fails [0m Error in `[.data.table`(DT, , `:=`(winter, stats::quantile(filtered, probs = probs, :
attempt access index 6/6 in VECTOR_ELT
Calls: <Anonymous> ... FUN -> eval -> eval -> filter_winter -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/7s] ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘example-scripts.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘example-scripts.Rmd’
--- re-building ‘getting-started-with-irg.Rmd’ using rmarkdown
Quitting from getting-started-with-irg.Rmd:185-191 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 1/1 in VECTOR_ELT
---
Backtrace:
▆
1. ├─...[]
2. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'getting-started-with-irg.Rmd' failed with diagnostics:
attempt access index 1/1 in VECTOR_ELT
--- failed re-building ‘getting-started-with-irg.Rmd’
SUMMARY: processing the following file failed:
‘getting-started-with-irg.Rmd’
Error: Vignette re-building failed.
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 3 ERRORs