From 808fd179055c54a9bc2207b09fcdc7bbe52470f8 Mon Sep 17 00:00:00 2001 From: jgabry Date: Wed, 25 Feb 2015 13:08:43 -0500 Subject: [PATCH] clean doc --- R/launch_shinystan_demo.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/launch_shinystan_demo.R b/R/launch_shinystan_demo.R index 6da1d397..a2d267ba 100644 --- a/R/launch_shinystan_demo.R +++ b/R/launch_shinystan_demo.R @@ -49,7 +49,7 @@ launch_shinystan_demo <- function(...) { stanfit <- rstanDemo::stan_demo(...) } else { has_rstan <- requireNamespace("rstan", quietly = TRUE) - if(!has_rstan) stop("You need to have the RStan package installed to use this option.") + if(!has_rstan) stop("You need to have the RStan package installed to use this option. Try runnning the default shinyStan demo instead.") stanfit <- rstan::stan_demo(...) }