(v3.0.0.9003) eucast_rules fix, new tidymodels integration

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-06-13 14:03:21 +02:00
1 parent 3742e9e994
commit 72db2b2562
22 files changed
+760 -107

No files matched your search

+1 -1
View File
@@ -208,7 +208,7 @@ age_groups <- function(x, split_at = c(12, 25, 55, 75), na.rm = FALSE) {
split_at <- c(0, split_at)
}
split_at <- split_at[!is.na(split_at)]
stop_if(length(split_at) == 1, "invalid value for `split_at`") # only 0 is available
stop_if(length(split_at) == 1, "invalid value for `split_at`.") # only 0 is available
# turn input values to 'split_at' indices
y <- x