diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 825e0e2..aa5a027 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -28,6 +28,7 @@ jobs: env: GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} R_KEEP_PKG_SOURCE: yes + steps: - uses: actions/checkout@v4 @@ -35,6 +36,11 @@ jobs: with: use-public-rspm: true + - name: Add cmdstanr repo + run: | + writeLines('options(repos = c(cmdstanr = "https://stan-dev.r-universe.dev", getOption(\"repos\")))', file("~/.Rprofile", "ab")) + shell: Rscript {0} + - name: Install cmdstanr run: | Rscript -e 'install.packages("cmdstanr", repos = c("https://stan-dev.r-universe.dev", getOption("repos")))' @@ -55,4 +61,4 @@ jobs: - uses: r-lib/actions/check-r-package@v2 with: upload-snapshots: true - build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")' + build_args: 'c("--no-manual","--no-build-vignettes","--ignore-vignettes")' diff --git a/DESCRIPTION b/DESCRIPTION index 3bf1129..7ec966c 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -43,5 +43,6 @@ Encoding: UTF-8 LazyData: true NeedsCompilation: yes SystemRequirements: GNU make +Additional_repositories: https://stan-dev.r-universe.dev VignetteBuilder: R.rsp RoxygenNote: 7.3.2