testthat is made specifically to work for packages, so it doesn't yield outputs that are easy to capture for single scripts, and it also won't handle RMarkdown.
I would like to add a section to the Code Analysis sheet that includes the pass/fail status of all testtthat lines in a file being QAd.
These are things that don't require any reviewer attention UNLESS they fail, but they are great for ensuring that assumptions made when writing code for a existing data continue to be met when run again on new/updated data.
testthat is made specifically to work for packages, so it doesn't yield outputs that are easy to capture for single scripts, and it also won't handle RMarkdown.
I would like to add a section to the Code Analysis sheet that includes the pass/fail status of all testtthat lines in a file being QAd.
These are things that don't require any reviewer attention UNLESS they fail, but they are great for ensuring that assumptions made when writing code for a existing data continue to be met when run again on new/updated data.