Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update workflows #886

Merged
merged 2 commits into from
Sep 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/R-CMD-check-hard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:

- 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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/R-CMD-check-strict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
R_KEEP_PKG_SOURCE: yes
_R_CHECK_CRAN_INCOMING_REMOTE_: true
_R_CHECK_CRAN_INCOMING_: true

steps:
- uses: actions/checkout@v4
Expand All @@ -43,12 +45,10 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: "release"
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
cache-version: 2
pak-version: devel
needs: check
extra-packages: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: "release"
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/check-link-rot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
- 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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/check-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ jobs:
- uses: r-lib/actions/setup-r@v2
with:
r-version: ${{ matrix.config.r }}
http-user-agent: "release"
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/check-spelling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ jobs:

- 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
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/html-5-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
- 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
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/pkgdown-no-suggests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:

- 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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test-coverage-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ name: test-coverage-examples
jobs:
test-coverage-examples:
runs-on: ubuntu-latest

env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

Expand All @@ -23,9 +24,11 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
extra-packages: |
r-lib/covr
any::covr
local::.
needs: coverage

- name: Test example coverage
run: |
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@ jobs:

- uses: r-lib/actions/setup-r@v2
with:
http-user-agent: "release"
use-public-rspm: true

- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
extra-packages: |
r-lib/covr
any::covr
needs: check

- name: Test coverage
Expand Down
2 changes: 1 addition & 1 deletion R/ggpiestats_ggbarstats_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
) %>%
rowwise() %>%
mutate(
.label = glue("list(~chi['gof']^2~({df})=={format_value(statistic, k)}, ~italic(p)=='{format_value(p.value, k)}', ~italic(n)=='{.prettyNum(counts)}')"),

Check warning on line 51 in R/ggpiestats_ggbarstats_helpers.R

View workflow job for this annotation

GitHub Actions / lint-changed-files

file=R/ggpiestats_ggbarstats_helpers.R,line=51,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 158 characters.

Check warning on line 51 in R/ggpiestats_ggbarstats_helpers.R

View workflow job for this annotation

GitHub Actions / lint

file=R/ggpiestats_ggbarstats_helpers.R,line=51,col=121,[line_length_linter] Lines should not be more than 120 characters. This line is 158 characters.
.p.label = glue("list(~italic(p)=='{format_value(p.value, k)}')")
) %>%
ungroup()
Expand All @@ -73,7 +73,7 @@
method = "Chi-squared test for given probabilities"
)
} else {
as_tibble(insight::standardize_names(result, style = "broom"))
insight::standardize_names(result, style = "broom") %>% as_tibble()
}
}

Expand Down
Loading