Skip to content

Commit

Permalink
add withr to Suggests
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Sep 20, 2023
1 parent 1d100c9 commit 1a12eb0
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 5 deletions.
30 changes: 27 additions & 3 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ references:
abstract: 'insight: Easy Access to Model Information for Various Model Objects'
notes: Imports
url: https://easystats.github.io/insight/
repository: https://CRAN.R-project.org/package=insight
repository: https://easystats.r-universe.dev
authors:
- family-names: Lüdecke
given-names: Daniel
Expand Down Expand Up @@ -306,8 +306,8 @@ references:
given-names: Etienne
email: [email protected]
orcid: https://orcid.org/0000-0002-9271-5075
version: '>= 0.19.5'
year: '2023'
version: '>= 0.19.5'
- type: software
title: paletteer
abstract: 'paletteer: Comprehensive Collection of Color Palettes'
Expand All @@ -323,7 +323,7 @@ references:
abstract: 'parameters: Processing of Model Parameters'
notes: Imports
url: https://easystats.github.io/parameters/
repository: https://CRAN.R-project.org/package=parameters
repository: https://easystats.r-universe.dev
authors:
- family-names: Lüdecke
given-names: Daniel
Expand Down Expand Up @@ -737,6 +737,30 @@ references:
email: [email protected]
year: '2023'
version: '>= 1.0.6'
- type: software
title: withr
abstract: 'withr: Run Code ''With'' Temporarily Modified Global State'
notes: Suggests
url: https://withr.r-lib.org
repository: https://CRAN.R-project.org/package=withr
authors:
- family-names: Hester
given-names: Jim
- family-names: Henry
given-names: Lionel
email: [email protected]
- family-names: Müller
given-names: Kirill
email: [email protected]
- family-names: Ushey
given-names: Kevin
email: [email protected]
- family-names: Wickham
given-names: Hadley
email: [email protected]
- family-names: Chang
given-names: Winston
year: '2023'
- type: software
title: WRS2
abstract: 'WRS2: A Collection of Robust Statistical Methods'
Expand Down
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ Suggests:
testthat (>= 3.1.10),
tibble,
vdiffr (>= 1.0.6),
withr,
WRS2
VignetteBuilder:
knitr
Expand Down
16 changes: 14 additions & 2 deletions codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,19 @@
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://github.com/r-lib/vdiffr"
"sameAs": "https://CRAN.R-project.org/package=vdiffr"
},
{
"@type": "SoftwareApplication",
"identifier": "withr",
"name": "withr",
"provider": {
"@id": "https://cran.r-project.org",
"@type": "Organization",
"name": "Comprehensive R Archive Network (CRAN)",
"url": "https://cran.r-project.org"
},
"sameAs": "https://CRAN.R-project.org/package=withr"
},
{
"@type": "SoftwareApplication",
Expand Down Expand Up @@ -513,7 +525,7 @@
},
"SystemRequirements": null
},
"fileSize": "9388.316KB",
"fileSize": "9389.207KB",
"citation": [
{
"@type": "ScholarlyArticle",
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-ggcoefstats.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ test_that("ggcoefstats doesn't work if no estimate column found", {
# default plots for each statistic ------------------------------------------

test_that("default plots are rendered correctly for each type of statistic", {
skip_if_not_installed("withr")

set.seed(123)
expect_doppelganger(
title = "t-statistic",
Expand Down

0 comments on commit 1a12eb0

Please sign in to comment.