tests/testthat/helpers.R

#Use generate regex to make strings invariant to white spaces
.w <- function(x) {
  gsub(" ", "(\\s+)", x, fixed = TRUE)
}
ngreifer/cobalt documentation built on July 3, 2025, 11:59 p.m.