Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 16, 2024
1 parent ad57414 commit b546117
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions R/plot.performance_simres.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ plot.see_performance_simres <- function(x,
# need DHARMa to be installed
insight::check_if_installed("DHARMa")

Check warning on line 46 in R/plot.performance_simres.R

View check run for this annotation

Codecov / codecov/patch

R/plot.performance_simres.R#L46

Added line #L46 was not covered by tests

# extract data, if from check_residuals
if (inherits(x, "see_check_residuals")) {
x <- attributes(x)$data

Check warning on line 50 in R/plot.performance_simres.R

View check run for this annotation

Codecov / codecov/patch

R/plot.performance_simres.R#L49-L50

Added lines #L49 - L50 were not covered by tests
}

if (is.null(transform)) {
res <- stats::residuals(x)

Check warning on line 54 in R/plot.performance_simres.R

View check run for this annotation

Codecov / codecov/patch

R/plot.performance_simres.R#L53-L54

Added lines #L53 - L54 were not covered by tests
} else {
Expand Down

0 comments on commit b546117

Please sign in to comment.