Skip to content

Commit d59e446

Browse files
committed
add cmdstan_verbose to vignette
1 parent 9122414 commit d59e446

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

vignettes/cmdstanr-internals.Rmd

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,4 +405,19 @@ fit <- readRDS(temp_rds_file)
405405
fit$summary()
406406
```
407407

408+
## Developing using CmdStanR
408409

410+
CmdStanR can of course be used for developing other packages that require compiling
411+
and running Stan models as well as using new or custom Stan features available
412+
through CmdStan.
413+
414+
### Troubleshooting and debugging
415+
416+
When developing or testing new features it might be useful to have more information
417+
on how CmdStan is called internally and get more information printed when compiling
418+
or running models.
419+
420+
This can be enabled using
421+
```{r verbose-mode}
422+
options("cmdstanr_verbose"=TRUE)
423+
```

0 commit comments

Comments
 (0)