carpentries-incubator / lesson-R-packaging

R Packaging
https://carpentries-incubator.github.io/lesson-R-packaging/
Other
5 stars 10 forks source link

Consider covering test coverage when talking about tests #84

Closed n400peanuts closed 1 year ago

n400peanuts commented 1 year ago

Note: this is a suggestion! and sorry about the ugly title!

I found it easy to set up a test coverage on github once I got all my tests in place (and of course a nice metric to evaluate my package) -- perhaps is something worth talking about?

This is what I set up for my package: https://about.codecov.io/

PabRod commented 1 year ago

We'd like to avoid depending on GitHub (for the reasons mentioned here).

Is it possible to use codecov locally?

n400peanuts commented 1 year ago

@PabRod it's possible via the covr package (https://cloud.r-project.org/web/packages/covr/index.html)

PabRod commented 1 year ago

Then I agree this is definitely worth mentioning. Thanks a lot for the suggestion!

Are you interested in writing a subsection about it inside the testing episode? No obligation 😉

n400peanuts commented 1 year ago

sure! I am happy to contribute

PabRod commented 1 year ago

Wonderful. Thanks a lot and let me know if I can be of any help.