- using R Under development (unstable) (2025-12-18 r89199)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
- checking for file ‘r2dii.analysis/DESCRIPTION’ ... OK
- this is package ‘r2dii.analysis’ version ‘0.5.2’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/2s] 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 whether package ‘r2dii.analysis’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/1s] OK
- checking whether startup messages can be suppressed ... [1s/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 ... [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 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 R/sysdata.rda ... OK
- checking examples ... [1s/2s] ERROR
Running examples in ‘r2dii.analysis-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: join_abcd_scenario
> ### Title: Join a data-loanbook object to the abcd and scenario
> ### Aliases: join_abcd_scenario
> ### Keywords: internal
>
> ### ** Examples
>
> ## Don't show:
> if (rlang::is_installed("r2dii.data") && rlang::is_installed("r2dii.match", version = "0.1.0")) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ library(r2dii.data)
+ library(r2dii.match)
+
+ valid_matches <- match_name(loanbook_demo, abcd_demo) %>%
+ # WARNING: Remember to validate matches (see `?prioritize`)
+ prioritize()
+
+ valid_matches %>%
+ join_abcd_scenario(
+ abcd = abcd_demo,
+ scenario = scenario_demo_2020,
+ region_isos = region_isos_demo
+ )
+ ## Don't show:
+ }) # examplesIf
> library(r2dii.data)
Attaching package: ‘r2dii.data’
The following object is masked from ‘package:r2dii.analysis’:
data_dictionary
> library(r2dii.match)
Attaching package: ‘r2dii.match’
The following object is masked from ‘package:r2dii.data’:
data_dictionary
The following object is masked from ‘package:r2dii.analysis’:
data_dictionary
> valid_matches <- match_name(loanbook_demo, abcd_demo) %>% prioritize()
Error in `[.data.table`(matched, , `:=`(pick, none_is_one(score) | some_is_one(score)), :
attempt access index 10/10 in VECTOR_ELT
Calls: <Anonymous> ... nrow -> match_name -> match_name_impl -> [ -> [.data.table
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [34s/39s] OK
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [34s/38s]
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR