From 54039382e2aceffdac58a51f0369ce7d602f6236 Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 21 Nov 2024 13:29:39 +0100 Subject: [PATCH] Warn user for invalif formula --- R/standardize.models.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/R/standardize.models.R b/R/standardize.models.R index a92ffe243..923c2a65d 100644 --- a/R/standardize.models.R +++ b/R/standardize.models.R @@ -78,6 +78,9 @@ standardize.default <- function(x, return(x) } + # check model formula. Some notations don't work when standardizing data + insight::formula_ok(x, verbose = verbose) + data_std <- NULL # needed to avoid note .standardize_models(x, robust = robust, two_sd = two_sd,