Skip to content

Commit d43bf9f

Browse files
committed
fix vignette for cran
[ci skip]
1 parent 4d7f94e commit d43bf9f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ LICENSE
1111
^revdep$
1212
man-roxygen/*
1313
vignettes/rstanlm
14+
^CRAN-RELEASE$

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Description: Provides various tools for developers of R packages interfacing
2828
across 'Stan'-based R packages, and vignettes with recommendations for
2929
developers.
3030
License: GPL (>=3)
31-
URL: https://discourse.mc-stan.org/, https://mc-stan.org/rstantools/
31+
URL: https://mc-stan.org/rstantools/, https://discourse.mc-stan.org/
3232
BugReports: https://github.com/stan-dev/rstantools/issues
3333
Encoding: UTF-8
3434
LazyData: true

vignettes/minimal-rstan-package.Rmd

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,8 +273,11 @@ documentation, you can set `quick=TRUE` to speed up the process, or use
273273

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

276-
```{r}
276+
```{r, eval=FALSE}
277277
library("rstanlm")
278+
```
279+
280+
```{r}
278281
fit <- lm_stan(y = rnorm(10), x = rnorm(10),
279282
# arguments passed to sampling
280283
iter = 2000, refresh = 500)

0 commit comments

Comments
 (0)