-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9f2c86d
commit 05b9829
Showing
313 changed files
with
12,475 additions
and
13,062 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
*.html linguist-detectable=false | ||
*.js linguist-detectable=false | ||
*.js linguist-detectable=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
*.html | ||
R-version | ||
depends.Rds | ||
*.rds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
# Basic set up for three package managers | ||
|
||
version: 2 | ||
updates: | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: CRAN Status Monitor | ||
|
||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: '0 10 * * 1,3,5' | ||
|
||
jobs: | ||
check: | ||
runs-on: ubuntu-latest | ||
permissions: write-all | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Check | ||
uses: dieghernan/cran-status-check@v1 | ||
with: | ||
fail-on-error: "true" | ||
create-issue: "false" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,71 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/master/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
# lintr provides static code analysis for R. | ||
# It checks for adherence to a given style, | ||
# identifying syntax errors and possible semantic issues, | ||
# then reports them to you so you can take action. | ||
# More details at https://lintr.r-lib.org/ | ||
|
||
name: lintr | ||
|
||
on: | ||
push: | ||
branches: [main, master] | ||
branches: | ||
- main | ||
- master | ||
workflow_dispatch: | ||
pull_request: | ||
branches: [main, master] | ||
# The branches below must be a subset of the branches above | ||
branches: | ||
- main | ||
- master | ||
schedule: | ||
- cron: '56 11 * * 5' | ||
|
||
name: lint | ||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
lint: | ||
lintr: | ||
name: Run lintr scanning | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
permissions: | ||
contents: read # for checkout to fetch code | ||
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results | ||
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-r@v1 | ||
- name: Setup R | ||
uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v1 | ||
- name: Setup lintr | ||
uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: | | ||
local::. | ||
any::lintr | ||
- name: Run lintr | ||
run: | | ||
# Lintr package | ||
out <- lintr::lint_package() | ||
# Create SARIF report | ||
lintr::sarif_output(out, "lintr-results.sarif") | ||
# Display | ||
out | ||
shell: Rscript {0} | ||
continue-on-error: true | ||
|
||
- name: Upload analysis results to GitHub | ||
uses: github/codeql-action/upload-sarif@v3 | ||
with: | ||
extra-packages: lintr | ||
sarif_file: lintr-results.sarif | ||
wait-for-processing: true | ||
|
||
- name: Lint | ||
run: lintr::lint_package() | ||
shell: Rscript {0} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: pkgcheck | ||
|
||
# This will cancel running jobs once a new run is triggered | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.head_ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
# Manually trigger the Action under Actions/pkgcheck | ||
workflow_dispatch: | ||
|
||
jobs: | ||
pkgcheck: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: ropensci-review-tools/pkgcheck-action@main | ||
with: | ||
summary-only: false | ||
post-to-issue: true | ||
append-to-issue: true | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Workflow derived from https://github.com/r-devel/recheck | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
which: | ||
type: choice | ||
description: Which dependents to check | ||
options: | ||
- strong | ||
- most | ||
|
||
name: r-devel reverse dependency check | ||
|
||
jobs: | ||
revdep_check: | ||
name: Reverse check ${{ inputs.which }} dependents | ||
uses: r-devel/recheck/.github/workflows/recheck.yml@v1 | ||
with: | ||
which: ${{ inputs.which }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
on: | ||
workflow_dispatch: | ||
|
||
name: revdepcheck | ||
|
||
jobs: | ||
revdepcheck: | ||
runs-on: ${{ matrix.config.os }} | ||
|
||
name: ${{ matrix.config.os }} (${{ matrix.config.r }}) | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
config: | ||
#- {os: windows-latest, r: 'release'} | ||
- {os: macOS-latest, r: 'release'} | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
extra-packages: | | ||
local::. | ||
dieghernan/pkgdev | ||
r-lib/revdepcheck | ||
needs: check | ||
|
||
- name: revdepcheck | ||
run: | | ||
revdepcheck::revdep_reset() | ||
revdepcheck::revdep_check(num_workers = 4) | ||
pkgdev::add_global_gitgnore() | ||
usethis::use_build_ignore("revdep") | ||
shell: Rscript {0} | ||
|
||
- name: Commit results | ||
run: | | ||
git config --local user.name "github-actions[bot]" | ||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git add -A | ||
git commit -m 'revdepcheck' || echo "No changes to commit" | ||
git push origin || echo "No changes to commit" | ||
Oops, something went wrong.