(v2.1.1.9182) fix AMR selectors for tidymodels, add unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-03-03 12:59:27 +01:00
1 parent b85890449d
commit 9a9468fa84
16 files changed
+84 -33

No files matched your search

+1 -1
View File
@@ -250,7 +250,7 @@ as.mic <- function(x, na.rm = FALSE, keep_operators = "all") {
cur_col <- get_current_column()
warning_("in `as.mic()`: ", na_after - na_before, " result",
ifelse(na_after - na_before > 1, "s", ""),
ifelse(is.null(cur_col), "", paste0(" in column '", cur_col, "'")),
ifelse(is.null(cur_col), "", paste0(" in index '", cur_col, "'")),
" truncated (",
round(((na_after - na_before) / length(x)) * 100),
"%) that were invalid MICs: ",