From 790e2af86d7847a6072f4cc88bb38562ad93b9c3 Mon Sep 17 00:00:00 2001 From: Kellie MacPhee Date: Wed, 4 Sep 2024 15:55:54 -0700 Subject: [PATCH] remove README creation from visc_pdf_document and visc_word_document --- R/visc_output_document.R | 8 -------- 1 file changed, 8 deletions(-) diff --git a/R/visc_output_document.R b/R/visc_output_document.R index b8eb06d2..00e7192f 100644 --- a/R/visc_output_document.R +++ b/R/visc_output_document.R @@ -31,10 +31,6 @@ visc_pdf_document <- function(latex_engine = "pdflatex", overwrite = FALSE) } - file.copy(from = find_resource("visc_report", "README_PT_Report.md"), - to = "README.md", - overwrite = FALSE) - # switch for a breaking change in pandoc template, see notes in template.tex use_old_csl_refs <- tolower(rmarkdown::pandoc_version() < '3.1.7') @@ -85,10 +81,6 @@ visc_word_document <- function(toc = TRUE, overwrite = FALSE) } - file.copy(from = find_resource("visc_report", "README_PT_Report.md"), - to = "README.md", - overwrite = FALSE) - bookdown::word_document2( toc = toc, fig_caption = fig_caption,