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

adding simple asis code via validation_files field? #145

Open mariev opened 3 years ago

mariev commented 3 years ago

I noticed that it might be nice to include some custom code e.g. pure html, MD, or LaTeX in between the child files without having to write a separate file or break up the input list to vt_file. Is this possible?

Usage in the .yml would be:

. . . 
validation_files:
- req1.md
- testcase1.md
- vt_add_code("## Test Results \n")
- testcode1.R