From 5e1ad28b47b21439a5a70cca58ae2d03092eac2c Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 09:58:12 +0200 Subject: [PATCH 1/7] chore: move revdepcheck to scheduled.yaml --- .github/workflows/on-demand.yaml | 12 ------------ .github/workflows/scheduled.yaml | 3 +++ 2 files changed, 3 insertions(+), 12 deletions(-) delete mode 100644 .github/workflows/on-demand.yaml diff --git a/.github/workflows/on-demand.yaml b/.github/workflows/on-demand.yaml deleted file mode 100644 index 02843bb32..000000000 --- a/.github/workflows/on-demand.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -name: On-demand 🧑‍đŸ”Ŧ - -on: - schedule: - - cron: '45 3 * * 0' - workflow_dispatch: - -jobs: - revdepcheck: - name: revdepcheck ↩ī¸ - uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index f2ddf6862..7062cb5d2 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -26,3 +26,6 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/branch-cleanup.yaml@main secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + revdepcheck: + name: revdepcheck ↩ī¸ + uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main From 39df058c6da711658be70788df467f4c5d939ac6 Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:22:36 +0200 Subject: [PATCH 2/7] chore: add r-hub workflow --- .github/workflows/scheduled.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 7062cb5d2..61a50753e 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -29,3 +29,6 @@ jobs: revdepcheck: name: revdepcheck ↩ī¸ uses: insightsengineering/r.pkg.template/.github/workflows/revdepcheck.yaml@main + rhub: + name: R-hub 🌐 + uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main From 2b2c308c7ca193f2b730ef1fc18f7be9fd9fdccb Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 10:58:55 +0200 Subject: [PATCH 3/7] chore: add wasm workflow --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 226473ce9..e56418bb8 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -52,3 +52,7 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/test-coverage.yaml@main secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + wasm: + name: Build WASM packages 🧑‍🏭 + needs: release + uses: insightsengineering/r.pkg.template/.github/workflows/wasm.yaml@main From 53784e86fa297bb36a3cecf2d4589e3c85c1ffac Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 11:58:03 +0200 Subject: [PATCH 4/7] chore: enable non-CRAN unit test report --- .github/workflows/check.yaml | 5 +---- .github/workflows/docs.yaml | 1 + _pkgdown.yml | 2 ++ 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 4bce0c86d..8c60333c6 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -52,11 +52,8 @@ jobs: _R_CHECK_EXAMPLE_TIMING_THRESHOLD_=11 TESTING_DEPTH=5 enforce-note-blocklist: true - publish-unit-test-report-gh-pages: false - junit-xml-comparison: false concurrency-group: non-cran - disable-unit-test-reports: true - skip-r-cmd-install: true + unit-test-report-directory: unit-test-report-non-cran note-blocklist: | checking dependencies in R code .* NOTE checking R code for possible problems .* NOTE diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 9b7a7e54e..57ae80042 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -41,3 +41,4 @@ jobs: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} with: default-landing-page: latest-tag + additional-unit-test-report-directories: unit-test-report-non-cran diff --git a/_pkgdown.yml b/_pkgdown.yml index ec36b1c74..d8d697150 100644 --- a/_pkgdown.yml +++ b/_pkgdown.yml @@ -15,6 +15,8 @@ navbar: href: coverage-report/ - text: Unit test report href: unit-test-report/ + - text: Non-CRAN unit test report + href: unit-test-report-non-cran/ github: icon: fa-github href: https://github.com/insightsengineering/teal.modules.general From fbc54517137281ce90b18a98e42805573e90c19c Mon Sep 17 00:00:00 2001 From: "27856297+dependabot-preview[bot]@users.noreply.github.com" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:29:32 +0000 Subject: [PATCH 5/7] [skip roxygen] [skip vbump] Roxygen Man Pages Auto Update --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 5c72cdb23..0e68e3304 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -101,4 +101,4 @@ Encoding: UTF-8 Language: en-US LazyData: true Roxygen: list(markdown = TRUE) -RoxygenNote: 7.3.1 +RoxygenNote: 7.3.2 From 3cabe881a85e04f1124dfb0d00790dc03cbcb40f Mon Sep 17 00:00:00 2001 From: Franciszek Walkowiak Date: Thu, 1 Aug 2024 17:08:24 +0200 Subject: [PATCH 6/7] chore: set NOT_CRAN variable --- .github/workflows/check.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 8c60333c6..a3dc3dfed 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -51,6 +51,7 @@ jobs: additional-env-vars: | _R_CHECK_EXAMPLE_TIMING_THRESHOLD_=11 TESTING_DEPTH=5 + NOT_CRAN=true enforce-note-blocklist: true concurrency-group: non-cran unit-test-report-directory: unit-test-report-non-cran From 1ec6ec53ef4075afa22ac621cb416ced4931a8bc Mon Sep 17 00:00:00 2001 From: walkowif <59475134+walkowif@users.noreply.github.com> Date: Tue, 6 Aug 2024 15:28:08 +0200 Subject: [PATCH 7/7] Update .github/workflows/scheduled.yaml Co-authored-by: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Signed-off-by: walkowif <59475134+walkowif@users.noreply.github.com> --- .github/workflows/scheduled.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/scheduled.yaml b/.github/workflows/scheduled.yaml index 61a50753e..73e3ce868 100644 --- a/.github/workflows/scheduled.yaml +++ b/.github/workflows/scheduled.yaml @@ -32,3 +32,13 @@ jobs: rhub: name: R-hub 🌐 uses: insightsengineering/r.pkg.template/.github/workflows/rhub.yaml@main + with: + lookup-refs: | + insightsengineering/teal.transform + insightsengineering/teal.code + insightsengineering/teal.data + insightsengineering/teal.logger + insightsengineering/teal.reporter + insightsengineering/teal.widgets + insightsengineering/tern + insightsengineering/rtables