diff --git a/R/blueprint-formula-default.R b/R/blueprint-formula-default.R index 9418c6ac..3c5b1f52 100644 --- a/R/blueprint-formula-default.R +++ b/R/blueprint-formula-default.R @@ -886,7 +886,7 @@ detect_interactions <- function(.formula) { terms_nms <- colnames(terms_matrix) # All interactions (*, ^, %in%) will be expanded to `:` - has_interactions <- grepl(":", terms_nms) + has_interactions <- grepl("(?