diff --git a/.Rbuildignore b/.Rbuildignore index d3741f0..7a57d62 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -11,3 +11,4 @@ LICENSE ^revdep$ man-roxygen/* vignettes/rstanlm +^CRAN-RELEASE$ diff --git a/DESCRIPTION b/DESCRIPTION index 9072955..ebd50c6 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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 diff --git a/vignettes/minimal-rstan-package.Rmd b/vignettes/minimal-rstan-package.Rmd index b241d25..962a106 100644 --- a/vignettes/minimal-rstan-package.Rmd +++ b/vignettes/minimal-rstan-package.Rmd @@ -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)