-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove redundant files * check for link rot
- Loading branch information
1 parent
79d91d8
commit 39bb857
Showing
169 changed files
with
54 additions
and
33,393 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 |
---|---|---|
@@ -0,0 +1,49 @@ | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
schedule: | ||
# * is a special character in YAML so you have to quote this string | ||
# Trigger once a week at 00:00 on Sunday | ||
- cron: "0 0 * * SUN" | ||
|
||
name: check-link-rot | ||
|
||
jobs: | ||
check-link-rot: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
R_KEEP_PKG_SOURCE: yes | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
with: | ||
pandoc-version: "3.1.8" | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: "devel" | ||
http-user-agent: "release" | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
pak-version: devel | ||
dependencies: '"hard"' | ||
extra-packages: | | ||
any::rcmdcheck | ||
any::urlchecker | ||
needs: check | ||
|
||
- name: Run URL checker | ||
run: | | ||
options(crayon.enabled = TRUE) | ||
rotten_links <- urlchecker::url_check(progress = FALSE) | ||
print(rotten_links) | ||
if (length(rotten_links$URL) > 0L) { | ||
cli::cli_abort("Some URLs are outdated and need to be updated.") | ||
} | ||
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 |
---|---|---|
|
@@ -39,3 +39,4 @@ vignettes/*.pdf | |
.Renviron | ||
|
||
rsconnect | ||
.github/.DS_Store |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.