Skip to content

Commit

Permalink
add README creation to use_visc_report()
Browse files Browse the repository at this point in the history
  • Loading branch information
kelliemac authored Sep 4, 2024
1 parent 5fc75e5 commit 576036b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions R/use_visc_report.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 576036b

Please sign in to comment.