Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Jul 11, 2024
1 parent d7dbb9c commit d4570c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/plot.check_heteroscedasticity.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ plot.see_check_heteroscedasticity <- function(x,
},
error = function(e) {
# debugging
if (getOption("easystats_erros", FALSE)) {
if (getOption("easystats_errors", FALSE)) {
insight::format_error(e$message)
}
NULL
Expand Down
2 changes: 1 addition & 1 deletion R/plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ plots <- function(...,
.safe_print_plots <- function(pw, ...) {
pw_drawn <- tryCatch(print(pw), error = function(e) e)
# for debugging, return original error
if (getOption("easystats_erros", FALSE)) {
if (getOption("easystats_errors", FALSE)) {
insight::format_error(pw_drawn$message)
}
if (inherits(pw_drawn, "simpleError")) {
Expand Down

0 comments on commit d4570c4

Please sign in to comment.