From 576036bddb54aefbab7039a82a5ac92138910625 Mon Sep 17 00:00:00 2001 From: Kellie MacPhee Date: Wed, 4 Sep 2024 15:55:21 -0700 Subject: [PATCH] add README creation to use_visc_report() --- R/use_visc_report.R | 3 +++ 1 file changed, 3 insertions(+) diff --git a/R/use_visc_report.R b/R/use_visc_report.R index 0627cad..3895a37 100644 --- a/R/use_visc_report.R +++ b/R/use_visc_report.R @@ -160,6 +160,9 @@ use_visc_report <- function(report_name = "PTreport", usethis::ui_done( glue::glue("Creating {{report_type}} VISC report at '{{file.path(path, report_name)}}'") ) + file.copy(from = find_resource("visc_report", "README_PT_Report.md"), + to = "README.md", + overwrite = FALSE) if (report_type != 'empty'){ use_visc_methods(path = file.path(path, report_name), assay = report_type, interactive = interactive)