Loading…
This event has ended. Visit the official site or create your own event on Sched.
Click here to return to main conference site. For a one page, printable overview of the schedule, see this.
View analytic
Tuesday, June 28 • 4:45pm - 5:03pm
Covr: Bringing Code Coverage to R

Log in to save this to your schedule and see who's attending!

Code coverage records whether or not each line of code in a package is executed by the package's tests. While it does not check whether a given program or test executes properly it does reveal areas of the code which are untested. Coverage has a long history in the computer science community (Miller and Maloney in Communications of the ACM, 1963), unfortunately the R language has lacked a comprehensive and easy to use code coverage tool. The covr package was written to make it simple to measure and report test coverage for R, C, C++ and Fortran code in R packages. It has measurably improved testing for numerous packages and also serves as an informative indicator of package reliability. Covr is now used routinely by over 1000 packages on CRAN, Bioconductor and GitHub. I will discuss how covr works, how it is best used and how it has demonstrably improved test coverage in R packages since its release.

Moderators
avatar for Mine  Cetinkaya-Rundel

Mine Cetinkaya-Rundel

Duke University

Speakers
avatar for Jim Hester

Jim Hester

RStudio


Tuesday June 28, 2016 4:45pm - 5:03pm
Econ 140 579 Serra Mall, Stanford, CA 94305

Attendees (65)