Running examples in ‘rollmatch-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Running examples in ‘rollmatch-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
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
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
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
Running examples in ‘rollmatch-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Running examples in ‘rollmatch-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
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
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