Skip to content

Commit

Permalink
remove README creation from visc_pdf_document and visc_word_document
Browse files Browse the repository at this point in the history
  • Loading branch information
kelliemac authored Sep 4, 2024
1 parent 576036b commit 790e2af
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions R/visc_output_document.R
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 790e2af

Please sign in to comment.