diff --git a/.Rbuildignore b/.Rbuildignore index a3ef8423..822eaa99 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -22,3 +22,6 @@ coverage.* .pre-commit-config.yaml ^\.pre-commit-config\.yaml$ ^pkgdown$ +^.revdeprefs\.yaml$ +^revdep$ +^\.covrignore$ diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 5c821273..d6836b17 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -24,6 +24,9 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/build-check-install.yaml@main secrets: REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} + with: + additional-env-vars: | + NOT_CRAN=true bioccheck: name: BiocCheck đŸŠē uses: insightsengineering/r.pkg.template/.github/workflows/bioccheck.yaml@main @@ -77,6 +80,8 @@ jobs: uses: insightsengineering/r.pkg.template/.github/workflows/style.yaml@main with: auto-update: true + secrets: + REPO_GITHUB_TOKEN: ${{ secrets.REPO_GITHUB_TOKEN }} grammar: if: github.event_name != 'push' name: Grammar Check 🔤 diff --git a/.github/workflows/cla.yaml b/.github/workflows/cla.yaml new file mode 100644 index 00000000..b674b0b4 --- /dev/null +++ b/.github/workflows/cla.yaml @@ -0,0 +1,18 @@ +name: CLA 🔏 + +on: + issue_comment: + types: + - created + # For PRs that originate from forks + pull_request_target: + types: + - opened + - closed + - synchronize + +jobs: + CLA: + name: CLA 📝 + uses: insightsengineering/.github/.github/workflows/cla.yaml@main + secrets: inherit diff --git a/.github/workflows/on-demand.yaml b/.github/workflows/on-demand.yaml new file mode 100644 index 00000000..02843bb3 --- /dev/null +++ b/.github/workflows/on-demand.yaml @@ -0,0 +1,12 @@ +--- +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/.gitignore b/.gitignore index 54d7cd17..32e5698d 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,5 @@ tests/testthat/testthat-problems.rds # knitr README.html +tests/testthat/_snaps/**/*.new.md +tests/testthat/_snaps/**/*.new.svg diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b0e48066..c2178a0e 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -65,6 +65,7 @@ repos: (.*/|)\.Rbuildignore| (.*/|)\.lintr| (.*/|)_pkgdown.y[a]?ml| + (.*/|)\.covrignore| (.*/|)staged_dependencies.y[a]?ml| (.*/|)\.pre-commit-.*| \.github/.*| diff --git a/revdep/.gitignore b/revdep/.gitignore new file mode 100644 index 00000000..111ab324 --- /dev/null +++ b/revdep/.gitignore @@ -0,0 +1,7 @@ +checks +library +checks.noindex +library.noindex +cloud.noindex +data.sqlite +*.html