Skip to content

Commit

Permalink
tests: add few tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidgohel committed Oct 27, 2024
1 parent 6313b7b commit cc5ac29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat/test-df_printer.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ test_that("use_model_printer and use_df_printer works", {
rmd_file <- tempfile(fileext = ".Rmd")
file.copy("rmd/use-printer.Rmd", rmd_file)
outfile <- tempfile(fileext = ".html")

options(show.signif.stars = TRUE)

rmarkdown::render(rmd_file,
output_file = outfile, output_format = "html_document",
envir = new.env(), quiet = TRUE
Expand Down

0 comments on commit cc5ac29

Please sign in to comment.