Skip to content

Commit

Permalink
Update launch_shinystan.R
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry authored Mar 16, 2021
1 parent 10be0d2 commit bc131bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/launch_shinystan.R
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ launch_shinystan.default <-
rstudio = getOption("shinystan.rstudio")) {
if (!is.shinystan(object) &&
!is.stanfit(object) &&
!inherits(object, "CmdStanMCMC") &&
!is.stanreg(object)) {
stop("object not compatible with 'launch_shinystan'. ",
"Try converting to a shinystan object first using 'as.shinystan'.")
Expand Down

0 comments on commit bc131bf

Please sign in to comment.