Skip to content

Commit

Permalink
Merge branch 'master' into document-global-options
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed Apr 17, 2024
2 parents 4dff908 + 1a07f46 commit 9ef1543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -396,8 +396,9 @@ assert_valid_draws_format <- function(format) {
}
if (format %in% c("rvars", "draws_rvars")) {
stop(
"\nWe are fixing a bug in fit$draws(format = 'draws_rvars').",
"\nFor now please use posterior::as_draws_rvars(fit$draws()) instead."
"\nTo use the rvar format please convert after extracting the draws, ",
"e.g., posterior::as_draws_rvars(fit$draws()).",
call. = FALSE
)
}
}
Expand Down

0 comments on commit 9ef1543

Please sign in to comment.