Skip to content

Commit 29ec1a0

Browse files
committed
minor fix
1 parent a93aa33 commit 29ec1a0

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

R/plot.check_model.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,10 @@ plot.see_check_model <- function(
5151
alpha_level <- attr(x, "alpha")
5252
alpha_dot <- attr(x, "alpha_dot")
5353
show_dots <- attr(x, "show_dots")
54-
show_ci <- attr(x, "show_ci")
54+
# for backwards compatibility, this attribute is NULL, and we want to show
55+
# confidence intervals then. checking for isTRUE would return FALSE for older
56+
# performance package versions, thus hiding CIs by default
57+
show_ci <- !isFALSE(attr(x, "show_ci"))
5558
detrend <- attr(x, "detrend")
5659
model_info <- attr(x, "model_info")
5760
overdisp_type <- attr(x, "overdisp_type")

0 commit comments

Comments
 (0)