tests/testthat/helper_transform_gt_html.R

strip_id <- function(x) {
  stringr::str_replace_all(x, 'id="\\w{10}"', 'id="stripped_id"')
}

Try the tfrmt package in your browser

Any scripts or data that you put into this service are public.

tfrmt documentation built on Nov. 5, 2025, 6:12 p.m.