diff --git a/.Rbuildignore b/.Rbuildignore index b961ed0c..e81d5d72 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -37,3 +37,4 @@ trash.* ^altdoc$ ^_quarto$ ^_quarto/ +inst/tinytest/tinytable_assets/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index 2a4d190b..2a92609e 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ altdoc/freeze.rds _quarto/ ^_quarto$ cran-comments.md +inst/tinytest/tinytable_assets/ \ No newline at end of file diff --git a/inst/tinytest/test-rmarkdown.R b/inst/tinytest/test-rmarkdown.R index 310751bb..992437ca 100644 --- a/inst/tinytest/test-rmarkdown.R +++ b/inst/tinytest/test-rmarkdown.R @@ -48,7 +48,7 @@ rmd_file <- paste0(random_string(), ".Rmd") ## not sure why PDF compilation doesn't work on Github actions cat(sprintf(dangerous_document, "pdf_document"), file = rmd_file) pdf_file <- gsub("\\.Rmd$", ".pdf", rmd_file ) -rmarkdown::render(rmd_file, output_file = pdf_file, quiet = TRUE) +suppressWarnings(rmarkdown::render(rmd_file, output_file = pdf_file, quiet = TRUE)) # # Rmarkdown to html_document