Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-buerkner committed Aug 22, 2023
1 parent d7b9b41 commit d7da2f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/priors.R
Original file line number Diff line number Diff line change
Expand Up @@ -1829,7 +1829,9 @@ as.brmsprior <- function(x) {
}
x$source <- "user"
all_vars <- c("prior", names(defaults), "source")
x[, all_vars, drop = FALSE]
x <- x[, all_vars, drop = FALSE]
class(x) <- c("brmsprior", "data.frame")
x
}

#' @export
Expand Down

0 comments on commit d7da2f6

Please sign in to comment.