-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* bump version for CRAN; rm library calls * docs * Address `unnecessary_placeholder_linter()` lints * minor code cleanup * Update utils.R * Create check-link-rot.yaml * Update check-link-rot.yaml * Update check-link-rot.yaml * Update check-link-rot.yaml * minor * Create pkgdown-no-suggests.yaml * yaml formatting * Create check-all-examples.yaml * fix pkgdown no suggests * fix pkgdown issue * fix pkgdown and lint issues * fix more pkgdown no suggests * DRY vignette setup * Update ggbetweenstats.Rmd * sync up actions * bump easystats versions * start DRYing up vignettes * for `ggwithinstats()` * reporting * fix? * more functions * add rest of the fragments * add examples for `extract_stats()`
- Loading branch information
1 parent
80cf42e
commit 2a7ee97
Showing
104 changed files
with
1,713 additions
and
2,532 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
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,42 @@ | ||
# Make sure all examples run successfully, even the ones that are not supposed | ||
# to be run or tested on CRAN machines by default. | ||
# | ||
# The examples that fail should use | ||
# - `if (FALSE) { ... }` (if example is included only for illustrative purposes) | ||
# - `try({ ... })` (if the intent is to show the error) | ||
# | ||
# This workflow helps find such failing examples that need to be modified. | ||
|
||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: check-all-examples | ||
|
||
jobs: | ||
check-all-examples: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
pak-version: devel | ||
extra-packages: | | ||
any::devtools | ||
local::. | ||
- name: Run examples | ||
run: | | ||
options(crayon.enabled = TRUE) | ||
devtools::run_examples(fresh = TRUE, run_dontrun = TRUE, run_donttest = TRUE) | ||
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,43 @@ | ||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
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@v3 | ||
|
||
- uses: r-lib/actions/setup-pandoc@v2 | ||
with: | ||
pandoc-version: "2.19.2" | ||
|
||
- 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 | ||
extra-packages: | | ||
any::rcmdcheck | ||
any::urlchecker | ||
- 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) { | ||
stop("Some URLs are outdated and need to be updated.", call. = FALSE) | ||
} | ||
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
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,54 @@ | ||
# Workflow derived from https://github.com/r-lib/actions/tree/v2/examples | ||
# Need help debugging build failures? Start at https://github.com/r-lib/actions#where-to-find-help | ||
# | ||
# NOTE: The {pkgdown} workflow in "noSuggests" mode makes sure that the vignettes or | ||
# examples evaluated only on the website are also using soft dependencies conditionally. | ||
|
||
on: | ||
push: | ||
branches: [main, master] | ||
pull_request: | ||
branches: [main, master] | ||
|
||
name: pkgdown-no-suggests | ||
|
||
jobs: | ||
pkgdown-no-suggests: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
R_KEEP_PKG_SOURCE: yes | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
# Always try to use the latest pandoc version | ||
# https://github.com/jgm/pandoc/releases | ||
- uses: r-lib/actions/setup-pandoc@v2 | ||
with: | ||
pandoc-version: "2.19.2" | ||
|
||
- uses: r-lib/actions/setup-r@v2 | ||
with: | ||
r-version: "release" | ||
http-user-agent: "release" | ||
use-public-rspm: true | ||
|
||
- uses: r-lib/actions/setup-r-dependencies@v2 | ||
with: | ||
pak-version: devel | ||
dependencies: '"hard"' | ||
cache: false | ||
extra-packages: | | ||
any::knitr | ||
any::rmarkdown | ||
r-lib/pkgdown | ||
local::. | ||
needs: website | ||
|
||
- name: Build site | ||
run: | | ||
options(crayon.enabled = TRUE) | ||
pkgdown::build_site_github_pages(new_process = FALSE, install = FALSE) | ||
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
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
Oops, something went wrong.