Skip to content

Commit

Permalink
fix vignette for cran
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
jgabry committed Sep 13, 2019
1 parent 4d7f94e commit d43bf9f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ LICENSE
^revdep$
man-roxygen/*
vignettes/rstanlm
^CRAN-RELEASE$
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Description: Provides various tools for developers of R packages interfacing
across 'Stan'-based R packages, and vignettes with recommendations for
developers.
License: GPL (>=3)
URL: https://discourse.mc-stan.org/, https://mc-stan.org/rstantools/
URL: https://mc-stan.org/rstantools/, https://discourse.mc-stan.org/
BugReports: https://github.com/stan-dev/rstantools/issues
Encoding: UTF-8
LazyData: true
Expand Down
5 changes: 4 additions & 1 deletion vignettes/minimal-rstan-package.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,11 @@ documentation, you can set `quick=TRUE` to speed up the process, or use

After installation, the package can be loaded and used like any other R package:

```{r}
```{r, eval=FALSE}
library("rstanlm")
```

```{r}
fit <- lm_stan(y = rnorm(10), x = rnorm(10),
# arguments passed to sampling
iter = 2000, refresh = 500)
Expand Down

0 comments on commit d43bf9f

Please sign in to comment.