Skip to content

Commit

Permalink
actually remove |>
Browse files Browse the repository at this point in the history
  • Loading branch information
joethorley committed Jan 23, 2025
1 parent 615fce7 commit ea5f16e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/test-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ save_csv <- function(x) {

expect_snapshot_data <- function(x, name, digits = 6) {
fun <- function(x) signif(x, digits = digits)
x <- as.list(x) |>
x <- as.list(x)
x <- purrr::map_if(x, .p = is.numeric, .f = signif, digits = digits)
x <- as.data.frame(x)
path <- save_csv(x)
Expand Down

0 comments on commit ea5f16e

Please sign in to comment.