R example repository for codecov.io
Using Travis CI
Append to your
r_packages: - covr after_success: - Rscript -e 'library(covr); codecov()'
Diagnose code coverage update problems (using travis)
If your code coverage badge is not updated you should check the travis log first:
- Check that the travis build was successful
- Open the travis build log
Click on the travis build badge (picture) to open the build log.
At the end you can see code coverage section:
- Open the log details of the code coverage
Click on the small triangle at the left side of "$ Rscript..." to see all log details:
If you do not see
$uploaded  TRUE
there was a problem and you will see the error message here.
If the error message is from the
covr package you can try to find the problem by calling
on your local computer when the package source code is in the current directory with this R command:
covr::package_coverage(type = "tests")
Using Wercker CI
@jimhester wrote a thorough description found here: jimhester/wercker-r-example
See the coverage reports of this repository at codecov.io
We are happy to help if you have any questions. Please contact email our Support at email@example.com