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

Updates for testthat 3.2.0 #889

Merged
merged 3 commits into from
Oct 11, 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
1 change: 1 addition & 0 deletions .github/workflows/R-CMD-check-devel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
needs: check
cache: false
extra-packages: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/R-CMD-check-hard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
dependencies: '"hard"'
cache: false
extra-packages: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/R-CMD-check-strict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
needs: check
extra-packages: |
any::rcmdcheck
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
any::rcmdcheck
needs: check
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-all-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
any::devtools
local::.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-link-rot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
dependencies: '"hard"'
extra-packages: |
any::rcmdcheck
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-random-test-order.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
local::.
needs: check
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-readme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
deps::.
any::ggstatsplot
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-spelling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
dependencies: '"hard"'
extra-packages: |
any::rcmdcheck
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-test-warnings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
local::.
any::devtools
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-vignette-warnings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
local::.
needs: check
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/html-5-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
any::rcmdcheck
any::V8
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint-changed-files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:

- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
any::gh
r-lib/lintr
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
r-lib/lintr
local::.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pkgdown-no-suggests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
dependencies: '"hard"'
cache: false
extra-packages: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
r-lib/pkgdown
r-lib/vdiffr
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/styler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
dependencies: '"hard"'
extra-packages: |
local::.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-coverage-examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
any::covr
local::.
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
- uses: r-lib/actions/setup-r-dependencies@v2
with:
pak-version: devel
upgrade: 'TRUE'
extra-packages: |
any::covr
needs: coverage
Expand Down
8 changes: 4 additions & 4 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ references:
abstract: 'datawizard: Easy Data Wrangling and Statistical Transformations'
notes: Imports
url: https://easystats.github.io/datawizard/
repository: https://CRAN.R-project.org/package=datawizard
repository: https://easystats.r-universe.dev
authors:
- family-names: Patil
given-names: Indrajeet
Expand Down Expand Up @@ -447,8 +447,8 @@ references:
given-names: Indrajeet
email: [email protected]
orcid: https://orcid.org/0000-0003-1995-6531
year: '2023'
version: '>= 1.5.2.9000'
year: '2023'
- type: software
title: tidyr
abstract: 'tidyr: Tidy Messy Data'
Expand Down Expand Up @@ -696,7 +696,7 @@ references:
given-names: Hadley
email: [email protected]
year: '2023'
version: '>= 3.1.10'
version: '>= 3.2.0'
- type: software
title: tibble
abstract: 'tibble: Simple Data Frames'
Expand Down Expand Up @@ -748,7 +748,7 @@ references:
given-names: Jim
- family-names: Henry
given-names: Lionel
email: lionel@rstudio.com
email: lionel@posit.co
- family-names: Müller
given-names: Kirill
email: [email protected]
Expand Down
6 changes: 2 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Suggests:
psych,
rmarkdown,
survival,
testthat (>= 3.1.10),
testthat (>= 3.2.0),
tibble,
vdiffr (>= 1.0.7),
withr,
Expand All @@ -84,6 +84,4 @@ Roxygen: list(
RoxygenNote: 7.2.3.9000
Config/testthat/edition: 3
Config/testthat/parallel: true
Config/Needs/check:
anthonynorth/roxyglobals,
r-lib/vdiffr
Config/Needs/check: anthonynorth/roxyglobals
4 changes: 2 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
"@type": "SoftwareApplication",
"identifier": "testthat",
"name": "testthat",
"version": ">= 3.1.10",
"version": ">= 3.2.0",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
Expand Down Expand Up @@ -525,7 +525,7 @@
},
"SystemRequirements": null
},
"fileSize": "9422.075KB",
"fileSize": "9388.713KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/_snaps/ggcoefstats.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

The tidy data frame *must* contain 'estimate' column.

# edge cases
# works when CIs unavailable

Elements in `term` column must be unique.

Loading
Loading