Learn R Programming

covr (version 2.0.1)

codecov: Run covr on a package and upload the result to codecov.io

Description

Run covr on a package and upload the result to codecov.io

Usage

codecov(..., coverage = NULL, base_url = "https://codecov.io",
  token = NULL, commit = NULL, branch = NULL, quiet = TRUE)

Arguments

...
arguments passed to package_coverage
coverage
an existing coverage object to submit, if NULL, package_coverage will be called with the arguments from ...
base_url
Codecov url (change for Enterprise)
token
a codecov upload token, if NULL and the environment variable CODECOV_TOKEN is used.
commit
explicitly set the commit this corresponds to, this is looked up from the service or locally if it is NULL.
branch
explicitly set the branch this corresponds to, this is looked up from the service or locally if it is NULL.
quiet
if FALSE, print the coverage before submission.

Examples

Run this code
codecov(path = "test")

Run the code above in your browser using DataLab