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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: get_cspp_data
> ### Title: Load CSPP data into the R environment
> ### Aliases: get_cspp_data
> 
> ### ** Examples
> 
> 
> ## returns full dataset
> data <- get_cspp_data()
Note: the following variables have additional footnotes in the codebook (https://ippsr.msu.edu/sites/default/files/CorrelatesCodebook.pdf):
bfh_cpi_multiplier, gov_fin_fy, housing_prices_quar, noofvotes, cartheftrate, carthefttotal, murderrate, murdertotal, propcrimerate, propcrimetotal, raperate, rapetotal, bus_energy_consum, bus_energy_consum_pc
> 
> ## use variable names from get_var_info
> data <- get_cspp_data(vars = get_var_info(var_names="pctpop")$variable)
Error in `dplyr::filter()`:
! Problem while computing `..1 = stringr::str_detect(.data$category,
  cats)`.
Caused by error in `stringr::str_detect()`:
! `pattern` can't be the empty string (`""`).
Backtrace:
     ▆
  1. ├─cspp::get_cspp_data(vars = get_var_info(var_names = "pctpop")$variable)
  2. ├─cspp::get_var_info(var_names = "pctpop")
  3. │ └─... %>% ...
  4. ├─dplyr::filter_at(...)
  5. │ └─dplyr:::tbl_at_syms(.tbl, .vars, .include_group_vars = TRUE)
  6. │   └─dplyr:::tbl_at_vars(...)
  7. │     └─dplyr::tbl_vars(tbl)
  8. │       ├─dplyr:::new_sel_vars(tbl_vars_dispatch(x), group_vars(x))
  9. │       │ └─base::structure(...)
 10. │       └─dplyr:::tbl_vars_dispatch(x)
 11. ├─dplyr::filter(., stringr::str_detect(.data$category, cats))
 12. ├─dplyr:::filter.data.frame(., stringr::str_detect(.data$category, cats))
 13. │ └─dplyr:::filter_rows(.data, ..., caller_env = caller_env())
 14. │   └─dplyr:::filter_eval(dots, mask = mask, error_call = error_call)
 15. │     ├─base::withCallingHandlers(...)
 16. │     └─mask$eval_all_filter(dots, env_filter)
 17. └─stringr::str_detect(.data$category, cats)
 18.   └─stringr:::no_empty()
 19.     └─cli::cli_abort(...)
 20.       └─rlang::abort(...)
Execution halted