From 2ca548209b7b5c9510a6d56662b333052d392734 Mon Sep 17 00:00:00 2001 From: Roberto Villegas-Diaz Date: Tue, 8 Jul 2025 12:17:39 +0100 Subject: [PATCH 1/3] Remove invalid --as-cran flag when building package --- .github/workflows/R-CMD-check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index eee23c7f..2e9abea0 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -48,4 +48,4 @@ jobs: - uses: r-lib/actions/check-r-package@v2 with: upload-snapshots: true - build_args: 'c("--no-manual", "--as-cran", "--compact-vignettes=gs+qpdf")' + build_args: 'c("--no-manual", ,"--compact-vignettes=gs+qpdf")' From c32e0278b9f9e1d0c00d006c2a216e4f3764729e Mon Sep 17 00:00:00 2001 From: Roberto Villegas-Diaz Date: Tue, 8 Jul 2025 12:18:07 +0100 Subject: [PATCH 2/3] Add lines to ignore performance tests on CRAN and GitHub Actions --- tests/testthat/test-perf-meanDS.R | 4 ++++ tests/testthat/test-perf-varDS.R | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/tests/testthat/test-perf-meanDS.R b/tests/testthat/test-perf-meanDS.R index 4557ed7e..794e61b2 100644 --- a/tests/testthat/test-perf-meanDS.R +++ b/tests/testthat/test-perf-meanDS.R @@ -12,6 +12,10 @@ # Set up # +# avoid performance tests on CRAN and GitHub Actions +testthat::skip_on_cran() +testthat::skip_on_ci() + context("meanDS::perf::setup") set.standard.disclosure.settings() diff --git a/tests/testthat/test-perf-varDS.R b/tests/testthat/test-perf-varDS.R index 19c21689..d468c5da 100644 --- a/tests/testthat/test-perf-varDS.R +++ b/tests/testthat/test-perf-varDS.R @@ -12,6 +12,10 @@ # Set up # +# avoid performance tests on CRAN and GitHub Actions +testthat::skip_on_cran() +testthat::skip_on_ci() + context("varDS::perf::setup") set.standard.disclosure.settings() From 51334b82f626c40a3783656702c3ce10c80e4edd Mon Sep 17 00:00:00 2001 From: Stuart Wheater Date: Tue, 8 Jul 2025 12:29:12 +0100 Subject: [PATCH 3/3] Update R-CMD-check.yaml Fix typo: ", ," -> ", " --- .github/workflows/R-CMD-check.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 2e9abea0..c8c5b62f 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -48,4 +48,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", "--compact-vignettes=gs+qpdf")'