From 2f1de4d7cb326c27e83fc7ef693100415e971e82 Mon Sep 17 00:00:00 2001 From: Ilia Kosenkov Date: Thu, 17 Oct 2024 16:57:31 +0300 Subject: [PATCH 1/2] Generate package for CRAN on CI --- .github/workflows/test_pkg_gen.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_pkg_gen.yaml b/.github/workflows/test_pkg_gen.yaml index 31826280..2ed3d4b4 100644 --- a/.github/workflows/test_pkg_gen.yaml +++ b/.github/workflows/test_pkg_gen.yaml @@ -70,6 +70,7 @@ jobs: devtools::create(".") usethis::proj_activate(".") rextendr::use_extendr() + rextendr::use_cran_defaults() usethis::use_mit_license() usethis::use_testthat() brio::write_lines( From b6534fd1b920ac5b9a98eee24017c9f0f7707ee7 Mon Sep 17 00:00:00 2001 From: Ilia Kosenkov Date: Thu, 17 Oct 2024 23:40:02 +0300 Subject: [PATCH 2/2] Bump checkout dependencies --- .github/workflows/R-CMD-check.yaml | 2 +- .github/workflows/test_pkg_gen.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/R-CMD-check.yaml b/.github/workflows/R-CMD-check.yaml index 6e9a8aee..1f617c99 100644 --- a/.github/workflows/R-CMD-check.yaml +++ b/.github/workflows/R-CMD-check.yaml @@ -37,7 +37,7 @@ jobs: REXTENDR_SKIP_DEV_TESTS: TRUE # TODO: Remove this when extendr/libR-sys issue is resolved steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: diff --git a/.github/workflows/test_pkg_gen.yaml b/.github/workflows/test_pkg_gen.yaml index 2ed3d4b4..418b4e86 100644 --- a/.github/workflows/test_pkg_gen.yaml +++ b/.github/workflows/test_pkg_gen.yaml @@ -36,7 +36,7 @@ jobs: RSPM: ${{ matrix.config.rspm }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@master with: