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

codecov {covr} | R Documentation

## 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` the environment variable ‘CODECOV_TOKEN’ is used.
`commit` | explicitly set the commit this coverage result object corresponds to. Is looked up from the service or locally if it is `NULL`.
`branch` | explicitly set the branch this coverage result object corresponds to, this is looked up from the service or locally if it is `NULL`.
`quiet` | if `FALSE`, print the coverage before submission.

### Examples

    ## Not run:
    codecov(path = "test")

    ## End(Not run)

[Package covr version 3.0.0 Index]