Skip to content

Commit

Permalink
Only run if cmdstanr is found
Browse files Browse the repository at this point in the history
  • Loading branch information
krisrs1128 committed Sep 4, 2024
1 parent c59ea1b commit f7c357c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vignettes/mindfulness.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,10 @@ exper

```{r check_install}
if (is.null(cmdstan_version(error_on_NA = FALSE))) {
install_cmdstan()
message("This vignette depends on your having installed cmdstanr locally.
This is because the LNM model is implemented using a cmdstan
script. Please try installing this using `install_cmdstanr()`!")
opts_chunk$set(eval = FALSE)
}
```

Expand Down

0 comments on commit f7c357c

Please sign in to comment.