Package check result: OK Changes to worse in reverse depends: Package: bnmonitor [Old version: 0.2.0, New version: 0.2.1] Check: examples New result: ERROR Running examples in ‘bnmonitor-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: final_node_monitor > ### Title: Final node monitors > ### Aliases: final_node_monitor > > ### ** Examples > > final_node_monitor(chds_bn, chds[1:100,]) Error in `pmap()`: ℹ In index: 1. Caused by error in `class(x) <- unique.default(c("AsIs", oldClass(x)))`: ! attempt to set an attribute on NULL Backtrace: ▆ 1. ├─bnmonitor::final_node_monitor(chds_bn, chds[1:100, ]) 2. │ └─... %>% unname 3. ├─base::unname(.) 4. ├─base::unlist(.) 5. ├─purrr::map2(., worst.level, standardize) 6. │ └─purrr:::map2_("list", .x, .y, .f, ..., .progress = .progress) 7. │ └─purrr:::vctrs_vec_compat(.x, .purrr_user_env) 8. ├─purrr::pmap(., ~pass.ev(.x, df = df, dag.grain = dag.grain)) 9. │ └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress) 10. │ ├─purrr:::with_indexed_errors(...) 11. │ │ └─base::withCallingHandlers(...) 12. │ ├─purrr:::call_with_cleanup(...) 13. │ └─bnmonitor (local) .f(x = .l[[1L]][[i]], ...) 14. │ └─bnmonitor:::pass.ev(.x, df = df, dag.grain = dag.grain) 15. │ ├─gRain::querygrain(...) 16. │ └─gRain::setEvidence(...) 17. │ └─gRain:::set_evidence_worker(...) 18. │ └─gRain:::grain_evidence_new(evidence, universe(object)$levels) 19. │ └─gRain:::grain_evidence2dataframe(out) 20. │ └─base::lapply(x, function(z) as.data.frame(I(z))) 21. │ └─gRain (local) FUN(X[[i]], ...) 22. │ ├─base::as.data.frame(I(z)) 23. │ └─base::I(z) 24. └─base::.handleSimpleError(...) 25. └─purrr (local) h(simpleError(msg, call)) 26. └─cli::cli_abort(...) 27. └─rlang::abort(...) Execution halted