Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
strengejacke committed Mar 29, 2024
1 parent 6b5916e commit 545aafa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/check_predictions.R
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ check_predictions.stanreg <- function(object,
"to create posterior prediction plots for Stan models"

Check warning on line 161 in R/check_predictions.R

View check run for this annotation

Codecov / codecov/patch

R/check_predictions.R#L159-L161

Added lines #L159 - L161 were not covered by tests
)

resp_string <- insight::find_terms(object)$response

Check warning on line 164 in R/check_predictions.R

View check run for this annotation

Codecov / codecov/patch

R/check_predictions.R#L164

Added line #L164 was not covered by tests

if (inherits(object, "brmsfit")) {
out <- as.data.frame(bayesplot::pp_check(object, type = type, ndraws = iterations, ...)$data)

Check warning on line 167 in R/check_predictions.R

View check run for this annotation

Codecov / codecov/patch

R/check_predictions.R#L166-L167

Added lines #L166 - L167 were not covered by tests
} else {
Expand Down

0 comments on commit 545aafa

Please sign in to comment.