Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/paul-buerkner/brms
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Nov 10, 2023
2 parents 3c5bbd6 + 37a135f commit b24dfa7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/backends.R
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ fit_model <- function(model, backend, ...) {
variables <- repair_variable_names(metadata$metadata$variables)
variables <- unique(sub("\\[.+", "", variables))
variables <- setdiff(variables, exclude)
# temp fix for cmdstanr not recognizing the variable names it produces #1473
variables <- ifelse(variables == "lp_approx__", "log_g__", variables)
# transform into stanfit object for consistent output structure
out <- read_csv_as_stanfit(out$output_files(), variables = variables)
out <- repair_stanfit(out)
Expand Down

0 comments on commit b24dfa7

Please sign in to comment.