covr: Test Coverage for Packages

Track and report 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.

Install the latest version of this package by entering the following in R:
install.packages("covr")
AuthorJim Hester [aut, cre], Willem Ligtenberg [ctb], Kirill Müller [ctb], Henrik Bengtsson [ctb], Steve Peak [ctb], Kirill Sevastyanenko [ctb], Jon Clayden [ctb], Robert Flight [ctb], Eric Brown [ctb], Brodie Gaslam [ctb], Will Beasley [ctb], Robert Krzyzanowski [ctb], Markus Wamser [ctb], Karl Forner [ctb], Gergely Daróczi [ctb], Jouni Helske [ctb], Kun Ren [ctb], Jeroen Ooms [ctb], Ken Williams [ctb], Chris Campbell [ctb]
Date of publication2017-01-05 10:39:29
MaintainerJim Hester <james.f.hester@gmail.com>
LicenseMIT + file LICENSE
Version2.2.2
https://github.com/jimhester/covr

View on CRAN

Functions

clear_counters Man page
codecov Man page
code_coverage Man page
count Man page
coveralls Man page
exclusions Man page
file_coverage Man page
function_coverage Man page
key Man page
new_counter Man page
package_coverage Man page
percent_coverage Man page
print.coverage Man page
report Man page
shine Man page
system_check Man page
system_output Man page
tally_coverage Man page
to_cobertura Man page
trace_calls Man page
value Man page
zero_coverage Man page

Files

inst
inst/www
inst/www/shiny.css
inst/doc
inst/doc/how_it_works.Rmd
inst/doc/how_it_works.html
inst/doc/how_it_works.R
tests
tests/testthat.R
tests/testthat
tests/testthat/test-exclusions.R tests/testthat/test-utils.R
tests/testthat/test-report.htm
tests/testthat/test-Compiled.R
tests/testthat/a
tests/testthat/TestR6
tests/testthat/TestR6/tests
tests/testthat/TestR6/tests/testthat.R
tests/testthat/TestR6/tests/testthat
tests/testthat/TestR6/tests/testthat/test-TestR6.R
tests/testthat/TestR6/NAMESPACE
tests/testthat/TestR6/R
tests/testthat/TestR6/R/TestR6.R
tests/testthat/TestR6/DESCRIPTION
tests/testthat/TestR6/man
tests/testthat/TestR6/man/a.Rd
tests/testthat/test-gcov.R tests/testthat/test-vectorized.R tests/testthat/corner-cases.R tests/testthat/test-summary.R
tests/testthat/corner-cases.Rds
tests/testthat/TestPrint
tests/testthat/TestPrint/tests
tests/testthat/TestPrint/tests/testthat.R
tests/testthat/TestPrint/tests/testthat
tests/testthat/TestPrint/tests/testthat/test-TestSummary.R
tests/testthat/TestPrint/NAMESPACE
tests/testthat/TestPrint/R
tests/testthat/TestPrint/R/TestPrint.R
tests/testthat/TestPrint/DESCRIPTION
tests/testthat/TestPrint/man
tests/testthat/TestPrint/man/test_me.Rd
tests/testthat/test-report.R tests/testthat/test-null.R tests/testthat/test-RC.R
tests/testthat/TestUseTry
tests/testthat/TestUseTry/tests
tests/testthat/TestUseTry/tests/testthat
tests/testthat/TestUseTry/tests/testthat/test-notry.R tests/testthat/TestUseTry/tests/tests.R
tests/testthat/TestUseTry/NAMESPACE
tests/testthat/TestUseTry/R
tests/testthat/TestUseTry/R/notry.R
tests/testthat/TestUseTry/DESCRIPTION
tests/testthat/TestCompiled
tests/testthat/TestCompiled/tests
tests/testthat/TestCompiled/tests/testthat.R
tests/testthat/TestCompiled/tests/testthat
tests/testthat/TestCompiled/tests/testthat/test-TestCompiled.R
tests/testthat/TestCompiled/src
tests/testthat/TestCompiled/src/simple.c
tests/testthat/TestCompiled/src/simple-header.h
tests/testthat/TestCompiled/NAMESPACE
tests/testthat/TestCompiled/R
tests/testthat/TestCompiled/R/TestCompiled.R
tests/testthat/TestCompiled/DESCRIPTION
tests/testthat/TestCompiled/man
tests/testthat/TestCompiled/man/simple.Rd
tests/testthat/test-covr.R tests/testthat/test-corner-cases.R tests/testthat/test-codecov.R tests/testthat/test-functions.R
tests/testthat/TestS4
tests/testthat/TestS4/tests
tests/testthat/TestS4/tests/testthat.R
tests/testthat/TestS4/tests/testthat
tests/testthat/TestS4/tests/testthat/test-TestS4.R
tests/testthat/TestS4/NAMESPACE
tests/testthat/TestS4/R
tests/testthat/TestS4/R/TestS4.R
tests/testthat/TestS4/DESCRIPTION
tests/testthat/TestS4/man
tests/testthat/TestS4/man/a.Rd
tests/testthat/test-trace_calls.R tests/testthat/test-parallel.R
tests/testthat/cobertura.xml
tests/testthat/test-print.R tests/testthat/test-memoised.R
tests/testthat/TestRC
tests/testthat/TestRC/tests
tests/testthat/TestRC/tests/testthat.R
tests/testthat/TestRC/tests/testthat
tests/testthat/TestRC/tests/testthat/test-TestRC.R
tests/testthat/TestRC/NAMESPACE
tests/testthat/TestRC/R
tests/testthat/TestRC/R/TestRC.R
tests/testthat/TestRC/DESCRIPTION
tests/testthat/TestRC/man
tests/testthat/TestRC/man/a.Rd
tests/testthat/TestExclusion
tests/testthat/TestExclusion/tests
tests/testthat/TestExclusion/tests/testthat.R
tests/testthat/TestExclusion/tests/testthat
tests/testthat/TestExclusion/tests/testthat/test-TestExclusion.R
tests/testthat/TestExclusion/NAMESPACE
tests/testthat/TestExclusion/R
tests/testthat/TestExclusion/R/TestExclusion.R
tests/testthat/TestExclusion/DESCRIPTION
tests/testthat/TestExclusion/man
tests/testthat/TestExclusion/man/test_me.Rd
tests/testthat/TestParallel
tests/testthat/TestParallel/tests
tests/testthat/TestParallel/tests/testthat.R
tests/testthat/TestParallel/tests/testthat
tests/testthat/TestParallel/tests/testthat/test-TestParallel.R
tests/testthat/TestParallel/NAMESPACE
tests/testthat/TestParallel/R
tests/testthat/TestParallel/R/TestParallel.R
tests/testthat/TestParallel/DESCRIPTION
tests/testthat/TestParallel/man
tests/testthat/TestParallel/man/test_me.Rd
tests/testthat/test-package_coverage.R tests/testthat/test-file_coverage.R tests/testthat/test-R6.R tests/testthat/test-coveralls.R tests/testthat/test-S4.R tests/testthat/corner-cases-test.R tests/testthat/test-braceless.R
tests/testthat/TestCompiledSubdir
tests/testthat/TestCompiledSubdir/tests
tests/testthat/TestCompiledSubdir/tests/testthat.R
tests/testthat/TestCompiledSubdir/tests/testthat
tests/testthat/TestCompiledSubdir/tests/testthat/test-TestCompiledSubdir.R
tests/testthat/TestCompiledSubdir/src
tests/testthat/TestCompiledSubdir/src/Makevars
tests/testthat/TestCompiledSubdir/src/lib
tests/testthat/TestCompiledSubdir/src/lib/simple.c
tests/testthat/TestCompiledSubdir/NAMESPACE
tests/testthat/TestCompiledSubdir/R
tests/testthat/TestCompiledSubdir/R/TestCompiledSubdir.R
tests/testthat/TestCompiledSubdir/DESCRIPTION
tests/testthat/TestCompiledSubdir/man
tests/testthat/TestCompiledSubdir/man/simple.Rd
tests/testthat/test-cobertura.R
tests/testthat/b
tests/testthat/TestSummary
tests/testthat/TestSummary/tests
tests/testthat/TestSummary/tests/testthat.R
tests/testthat/TestSummary/tests/testthat
tests/testthat/TestSummary/tests/testthat/test-TestSummary.R
tests/testthat/TestSummary/NAMESPACE
tests/testthat/TestSummary/R
tests/testthat/TestSummary/R/TestSummary.R
tests/testthat/TestSummary/DESCRIPTION
tests/testthat/TestSummary/man
tests/testthat/TestSummary/man/test_me.Rd
src
src/reassign.c
NAMESPACE
NEWS.md
R
R/R6.R R/parse_data.R R/codecov.R R/utils.R R/vectorized.R R/coveralls.R R/parallel.R R/report.R R/covr.R R/display_name.R R/system.R R/RC.R R/replace.R R/S4.R R/compiled.R R/data_frame.R R/trace_calls.R R/value.R R/summary_functions.R R/cobertura.R R/exclusions.R R/zzz.R
vignettes
vignettes/how_it_works.Rmd
README.md
MD5
build
build/vignette.rds
DESCRIPTION
man
man/coveralls.Rd man/key.Rd man/value.Rd man/percent_coverage.Rd man/new_counter.Rd man/exclusions.Rd man/trace_calls.Rd man/function_coverage.Rd man/code_coverage.Rd man/zero_coverage.Rd man/package_coverage.Rd man/clear_counters.Rd man/system_output.Rd man/to_cobertura.Rd man/print.coverage.Rd man/count.Rd man/report.Rd man/system_check.Rd man/codecov.Rd man/tally_coverage.Rd man/file_coverage.Rd
LICENSE

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.