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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: add_stat_dependency
> ### Title: Calculates confidence limits
> ### Aliases: add_stat_dependency
> 
> ### ** Examples
> 
> #load example data
> dat <- read_hdx(system.file(package = "HaDeX", 
+                             "HaDeX/data/KD_180110_CD160_HVEM.csv"))
>                             
> # prepate dataset for states `CD160` and `CD160_HVEM` in given time parameters 
> calc_dat <- prepare_dataset(dat,
+                             in_state_first = "CD160_0.001",
+                             chosen_state_first = "CD160_1",
+                             out_state_first = "CD160_1440",
+                             in_state_second = "CD160_HVEM_0.001",
+                             chosen_state_second = "CD160_HVEM_1",
+                             out_state_second = "CD160_HVEM_1440") 
Error in `summarize()`:
ℹ In argument: `in_time_mean_1 = mean(CD160_0.001, na.rm = TRUE)`.
ℹ In group 1: `Sequence = "ARSQKSGIRLQGHF"`, `Start = 88`, `End = 101`,
  `MaxUptake = 13`, `MHP = 1584.872`.
Caused by error:
! object 'CD160_0.001' not found
Backtrace:
     ▆
  1. ├─HaDeX::prepare_dataset(...)
  2. │ └─... %>% arrange(Start, End)
  3. ├─dplyr::arrange(., Start, End)
  4. ├─dplyr::select(...)
  5. ├─dplyr::ungroup(.)
  6. ├─dplyr::mutate(...)
  7. ├─dplyr::summarize(...)
  8. ├─dplyr:::summarise.grouped_df(...)
  9. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
 10. │   ├─base::withCallingHandlers(...)
 11. │   └─dplyr:::map(quosures, summarise_eval_one, mask = mask)
 12. │     └─base::lapply(.x, .f, ...)
 13. │       └─dplyr (local) FUN(X[[i]], ...)
 14. │         └─mask$eval_all_summarise(quo)
 15. │           └─dplyr (local) eval()
 16. ├─base::mean(CD160_0.001, na.rm = TRUE)
 17. └─base::.handleSimpleError(...)
 18.   └─dplyr (local) h(simpleError(msg, call))
 19.     └─dplyr (local) handler(cnd)
 20.       └─rlang::abort(message, class = error_class, parent = parent, call = error_call)
Execution halted