gtsummary icon indicating copy to clipboard operation
gtsummary copied to clipboard

Add snapshot tests for output

Open ddsjoberg opened this issue 2 years ago • 1 comments

https://youtu.be/r3yklH7Gk1s?t=3070

This will be helpful for latex output. I am skeptical whether it'll be good for gt since the HTML seems to get small updates with each release.

Could be used with rmarkdown::render() to ensure the knitted files are as expected.

Thanks @shannonpileggi !

ddsjoberg avatar May 04 '22 12:05 ddsjoberg

More info on the {testthat} 3.1.0 release here: https://www.tidyverse.org/blog/2021/10/testthat-3-1/

shannonpileggi avatar May 04 '22 13:05 shannonpileggi