From cb18b693d7a5a6f68e345c2d13b9778486a8745d Mon Sep 17 00:00:00 2001 From: Daniel Date: Wed, 4 Sep 2024 08:26:40 +0200 Subject: [PATCH] minor --- R/p_significance.R | 1 - 1 file changed, 1 deletion(-) diff --git a/R/p_significance.R b/R/p_significance.R index dccfaf393..c2470caad 100644 --- a/R/p_significance.R +++ b/R/p_significance.R @@ -341,7 +341,6 @@ as.double.p_significance <- as.numeric.p_significance } else { threshold <- rope_range(model, verbose = verbose)[2] } - } else if (all(is.numeric(threshold)) && length(threshold) == 2) { } else if (!all(is.numeric(threshold)) || length(threshold) > 2) { insight::format_error( "`threshold` should be one of the following values:",