Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Sep 4, 2024
1 parent d35948a commit cb18b69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/p_significance.R
Original file line number Diff line number Diff line change
Expand Up @@ -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:",
Expand Down

0 comments on commit cb18b69

Please sign in to comment.