From d6e5274b3f1e8e46796c08497dec0986b6e1852f Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Wed, 5 Jun 2024 11:11:26 +0300 Subject: [PATCH] Roxygen? --- .github/workflows/R-CMD-check.yaml | 2 +- cleanup | 2 +- cleanup.win | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 82d881629..8acdf198e 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -15,7 +15,7 @@ jobs: R-CMD-check: runs-on: ${{ matrix.config.os }} - name: ${{ matrix.config.rstan }} RStan - ${{ matrix.config.os }} (${{ matrix.config.r }}) + name: ${{ matrix.config.rstan }} R CMD CHECK - ${{ matrix.config.os }} (${{ matrix.config.r }}) strategy: fail-fast: false diff --git a/cleanup b/cleanup index 4195b278d..5f49d7c23 100755 --- a/cleanup +++ b/cleanup @@ -1,5 +1,5 @@ #!/bin/sh -e # Note to Windows users: This is not actually platform specific. -"${R_HOME}/bin/R" --vanilla --slave -e 'roxygen2::roxygenize(load_code = roxygen2::load_source, clean = TRUE)' +"${R_HOME}/bin/R" --vanilla --slave -e 'roxygen2::roxygenize(clean = TRUE)' exit $? diff --git a/cleanup.win b/cleanup.win index 097441dd3..9bbc18cd4 100755 --- a/cleanup.win +++ b/cleanup.win @@ -1,7 +1,6 @@ #!/bin/sh -e # Note to Windows users: This is not actually platform specific. +"${R_HOME}/bin/R" --vanilla --slave -e 'rstantools::rstan_config()' "${R_HOME}/bin/R" --vanilla --slave -e 'roxygen2::roxygenize(load_code = roxygen2::load_source, clean = TRUE)' -cp -r src/stan_files tests/testthat/stan_files -cp -r inst/include tests/testthat/include exit $?