Skip to content

Commit

Permalink
lintr, styler
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Oct 19, 2024
1 parent f968cd0 commit 241db43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion R/ci_generic.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
method <- tolower(method)
method <- insight::validate_argument(
method,
c("wald", "ml1", "betwithin", "kr", "satterthwaite", "kenward", "boot",
c(
"wald", "ml1", "betwithin", "kr", "satterthwaite", "kenward", "boot",
"profile", "residual", "normal"
)
)
Expand Down
4 changes: 2 additions & 2 deletions R/extract_random_variances.R
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

# check for errors
if (is.null(out) && isTRUE(verbose)) {
insight::format_warning("Something went wrong when calculating random effects parameters. Only showing model's fixed effects now. You may use `effects=\"fixed\"` to speed up the call to `model_parameters()`.")
insight::format_warning("Something went wrong when calculating random effects parameters. Only showing model's fixed effects now. You may use `effects=\"fixed\"` to speed up the call to `model_parameters()`.") # nolint
}

out
Expand Down Expand Up @@ -208,7 +208,7 @@
)

# fix names for uncorrelated slope-intercepts
pattern <- paste0("(", paste0(insight::find_random(model, flatten = TRUE), collapse = "|"), ")\\.\\d+$")
pattern <- paste0("(", paste(insight::find_random(model, flatten = TRUE), collapse = "|"), ")\\.\\d+$")
out$Group <- gsub(pattern, "\\1", out$Group)

# remove non-used columns
Expand Down

0 comments on commit 241db43

Please sign in to comment.