Skip to content

Commit

Permalink
Merge pull request #276 from R-Lum/snapshots_01
Browse files Browse the repository at this point in the history
Add a batch of snapshot tests [skip ci]
  • Loading branch information
mcol authored Oct 1, 2024
2 parents c9ebca6 + d125f73 commit e8b987d
Show file tree
Hide file tree
Showing 8 changed files with 1,987 additions and 42 deletions.
2 changes: 1 addition & 1 deletion R/CW2pHMi.R
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ CW2pHMi<- function(
invalid_values.id <- c(which(is.infinite(temp[,2]) | is.nan(temp[,2])))

if(length(invalid_values.id) > 0){
.throw_warning(length(invalid_values.id), " values have been found ",
.throw_warning(length(invalid_values.id), " invalid values have been found ",
"and replaced by the mean of the nearest values")
}

Expand Down
401 changes: 401 additions & 0 deletions tests/testthat/_snaps/CW2pX.md

Large diffs are not rendered by default.

Loading

0 comments on commit e8b987d

Please sign in to comment.