Skip to content

Commit f993064

Browse files
committed
formatting
1 parent 9812d4e commit f993064

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

R/1_model_parameters.R

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -634,17 +634,21 @@ model_parameters.default <- function(
634634
if (length(out) == 1 && isTRUE(is.na(out))) {
635635
insight::format_error(
636636
paste0(
637-
"Sorry, `model_parameters()` failed with the following error (possible class `",
638-
class(model)[1],
639-
"` not supported):\n"
637+
"Sorry, ",
638+
sQuote("model_parameters()"),
639+
" failed with the following error (possible class ",
640+
sQuote(class(model)[1]),
641+
" not supported):\n"
640642
),
641643
attr(out, "error")
642644
)
643645
} else if (is.null(out)) {
644646
insight::format_error(paste0(
645-
"Sorry, `model_parameters()` does not currently work for objects of class `",
646-
class(model)[1],
647-
"`."
647+
"Sorry, ",
648+
sQuote("model_parameters()"),
649+
" does not currently work for objects of class ",
650+
sQuote(class(model)[1]),
651+
"."
648652
))
649653
}
650654
}

0 commit comments

Comments
 (0)