phuse-org / valtools

Validation framework for R packages used in clinical research and drug development.
https://phuse-org.github.io/valtools/
Other
51 stars 10 forks source link

can external location for validation report be designated via .yml? #170

Open mariev opened 3 years ago

mariev commented 3 years ago

It looks like the assumption is that folder specified via .yml output_dir is relative to package when using vt_validate_source e.g.

> vt_validate_source()
 Error: Error during validation of package. Error: 
* callr subprocess failed: Error in rendering validation report Error: The directory 'C:/Users/mvendett/Documents/Github/RPackageValidationTutorial.04E02/C:/Users/Public/R_validation/validation' does not not exist.
thebioengineer commented 3 years ago

Thats a good idea - assumption has been relative to the root dir, but making it more flexible would be a good idea