metrumresearchgroup / mrgvalidate

R package for generating validation documents for other R packages developed by Metrum
https://metrumresearchgroup.github.io/mrgvalidate/
Other
1 stars 1 forks source link

fix: write_validation_testing: conditionally add auto/manual headings #54

Closed kyleam closed 3 years ago

kyleam commented 3 years ago

It's valid to have only one type of tests, automatic or manual. However, write_validation_testing() unconditionally includes the "Automated Test Results" and "Manual Test Results" headings.

Check that tests of a given type exist before outputting a heading for them.