- using R Under development (unstable) (2026-02-03 r89373)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
clang version 21.1.8
flang version 21.1.8
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-02-03 13:10:41Z
- using option ‘--no-stop-on-test-error’
- checking for file ‘rollmatch/DESCRIPTION’ ... OK
- this is package ‘rollmatch’ version ‘2.0.4’
- 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 ‘rollmatch’ can be installed ... [9s/13s] OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [11s/16s] OK
- checking Rd files ... 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 ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... ERROR
Running examples in ‘rollmatch-Ex.R’ failed
The error most likely occurred in:
> ### Name: rollmatch
> ### Title: Rolling entry matching
> ### Aliases: rollmatch
>
> ### ** Examples
>
> data(package="rollmatch", "rem_synthdata_small")
> reduced_data <- reduce_data(data = rem_synthdata_small, treat = "treat",
+ tm = "quarter", entry = "entry_q",
+ id = "indiv_id", lookback = 1)
> fm <- as.formula(treat ~ qtr_pmt + yr_pmt + age)
> vars <- all.vars(fm)
> scored_data <- score_data(reduced_data = reduced_data,
+ model_type = "logistic", match_on = "logit",
+ fm = fm, treat = "treat",
+ tm = "quarter", entry = "entry_q", id = "indiv_id")
> output <- rollmatch(scored_data, data=rem_synthdata_small, treat = "treat",
+ tm = "quarter", entry = "entry_q", id = "indiv_id",
+ vars = vars, lookback = 1, alpha = .2,
+ standard_deviation = "average", num_matches = 3,
+ replacement = TRUE)
Error:
! `group_by_()` was deprecated in dplyr 0.7.0 and is now defunct.
ℹ Please use `group_by()` instead.
ℹ See vignette('programming') for more help
Backtrace:
▆
1. ├─rollmatch::rollmatch(...)
2. │ └─rollmatch:::add_balance_table(...)
3. │ └─scored_data[, vars] %>% dplyr::group_by_(treat)
4. └─dplyr::group_by_(., treat)
5. └─dplyr:::lazy_defunct("group_by")
6. └─lifecycle::deprecate_stop(...)
7. └─lifecycle:::deprecate_stop0(msg)
8. └─rlang::cnd_signal(...)
Execution halted
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR