covr-package: covr: Test coverage for packages

Description Details Author(s) See Also

Description

covr tracks and reports code coverage for your package and (optionally) upload the results to a coverage service like 'Codecov' http://codecov.io or 'Coveralls' http://coveralls.io. Code coverage is a measure of the amount of code being exercised by a set of tests. It is an indirect measure of test quality and completeness. This package is compatible with any testing methodology or framework and tracks coverage of both R code and compiled C/C++/FORTRAN code.

Details

A coverage report can be used to inspect coverage for each line in your package. Using report() requires the additional dependencies DT and htmltools.

1
2
# If run with no arguments `report()` implicitly calls `package_coverage()`
report()

Author(s)

Maintainer: Jim Hester [email protected]

Other contributors:

See Also

Useful links:


r-lib/covr documentation built on Nov. 5, 2018, 11:40 p.m.