Skip to content

Commit

Permalink
upkeep: bump r2dii version in helper-skip_if_r2dii_data_outdated.R
Browse files Browse the repository at this point in the history
The (brittle) snapshot tests are currently failing when run against the CRAN published `r2dii.data v0.5.0`. They only pass against the dev version of the package.

This PR bumps the function that skips snapshot tests with old `r2dii.data`. 

Another indication that we should prioritize working on #392

Relates to RMI-PACTA/r2dii.data#374
Relates to #473
  • Loading branch information
jdhoffa authored Apr 25, 2024
1 parent c97f9dc commit e8af8cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/helper-skip_if_r2dii_data_outdated.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
skip_if_r2dii_data_outdated <- function() {
skip_if(
packageVersion("r2dii.data") <= "0.4.1",
packageVersion("r2dii.data") <= "0.5.0",
"We expect different output"
)
}

0 comments on commit e8af8cd

Please sign in to comment.