From 6579d275fc5a5689bf87cc2fbbccf117c46c6cc4 Mon Sep 17 00:00:00 2001 From: Marsel Scheer Date: Wed, 21 Jan 2026 18:35:05 +0100 Subject: [PATCH 1/2] replace .dots with pick(all_of()), solves #11 --- R/define_simulation.R | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/R/define_simulation.R b/R/define_simulation.R index 70bac63..3ed53e7 100644 --- a/R/define_simulation.R +++ b/R/define_simulation.R @@ -40,10 +40,9 @@ define_simulation <- function(pf, discard_generated_data, cluster, ) res <- purrr::map(res, ~ do.call("bind_or_combine", .)) if (!is.null(summary_fun) && !is.null(group_for_summary)) { - class(group_for_summary) <- "list" res <- lapply(summary_fun, function(f) { purrr::map(res, ~ dplyr::summarize_all( - dplyr::group_by(., .dots = group_for_summary), f + dplyr::group_by(., dplyr::pick(dplyr::all_of(group_for_summary))), f )) }) } else { From 9d2bc0a14b8b4bebb0b4b790cbad876cd860b1ef Mon Sep 17 00:00:00 2001 From: Marsel Scheer Date: Sat, 24 Jan 2026 08:00:50 +0100 Subject: [PATCH 2/2] update news --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index c282315..586d330 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ Version 1.1.8.9000 ========================= -* placeholder for next development-cycle +* address deprecated .dots argument of group_by() due to upcoming dplyr version 1.2.0 Version 1.1.8 =========================