Entering edit mode
Levi Waldron
★
1.1k
@levi-waldron-3429
Last seen 4 days ago
CUNY Graduate School of Public Health a…
Is there a recommended way to inspect coverage of your scripts by the
package unit tests? The Bioconductor HOWTO on unit testing for
developers
is very helpful for getting unit tests set up for a package:
http://www.bioconductor.org/developers/unitTesting-guidelines/
The guidelines don't mention the code inspection feature of RUnit, the
inspect() function, which analyzes the coverage of each line of script
(
http://cran.r-project.org/web/packages/RUnit/vignettes/RUnit.pdf,
section
2.2). It would be great to have this html report just appear in
packagename.Rcheck/tests after running R CMD check, but any solution
would
do.
Thank you,
Levi
[[alternative HTML version deleted]]