powered by
Run covr on a package and upload the result to codecov.io
codecov(..., coverage = NULL, base_url = "https://codecov.io", token = NULL, commit = NULL, branch = NULL, quiet = TRUE)
arguments passed to package_coverage
package_coverage
an existing coverage object to submit, if NULL, package_coverage will be called with the arguments from ...
NULL
...
Codecov url (change for Enterprise)
a codecov upload token, if NULL the environment variable ‘CODECOV_TOKEN’ is used.
explicitly set the commit this coverage result object corresponds to. Is looked up from the service or locally if it is NULL.
explicitly set the branch this coverage result object corresponds to, this is looked up from the service or locally if it is NULL.
if FALSE, print the coverage before submission.
FALSE
codecov(path = "test")
Run the code above in your browser using DataLab