FredHutch / VISCtemplates

Tools for writing reproducible reports at VISC
Other
6 stars 2 forks source link

Specifying a new path with use_visc_report fails to copy skeleton report Rmd #124

Closed brborate closed 1 month ago

brborate commented 9 months ago

Describe the bug Specifying a new path with use_visc_report fails to copy skeleton report Rmd

To Reproduce Steps to reproduce the behavior:

  1. open Rstudio
  2. run VISCtemplates::create_visc_project("tryingoutVISCtemplates")
  3. Let the Rstudio restart into the project
  4. run VISCtemplates::use_visc_report("Caskey820_BAMA_PT_Report", path = "BAMA", report_type = "bama")
  5. See warnings, and the template Caskey820_BAMA_PT_Report.Rmd is not created under BAMA folder.

Expected behavior the template Caskey820_BAMA_PT_Report.Rmd should be created under BAMA folder, as it was the path specified while running use_visc_report().

kelliemac commented 2 months ago

This issue is duplicated by https://github.com/FredHutch/VISCtemplates/issues/157, see discussion there