Re: [Bioc-devel] Package coverage

2019-07-11 Thread Shepherd, Lori
Thank you for these code snippets.  I will look at adding the coverage badge 
over the next few weeks.




Lori Shepherd

Bioconductor Core Team

Roswell Park Cancer Institute

Department of Biostatistics & Bioinformatics

Elm & Carlton Streets

Buffalo, New York 14263


From: Bioc-devel  on behalf of Llu�s Revilla 

Sent: Thursday, July 11, 2019 9:13:29 AM
To: bioc-devel
Subject: [Bioc-devel] Package coverage

Dear Lori and all,

Some years ago there was a coverage badge, which disappeared when
transitioning to git. Afterwards there were some mails about including the
coverage badge on package's landing page again (
https://stat.ethz.ch/pipermail/bioc-devel/2017-November/012417.html), but
still there isn't one.

As there is some interest from the core, and I don't know how to add it to
the package builder: https://github.com/Bioconductor/packagebuilder. (I
guess somewhere in builder.py?) I would like to contribute some lines to
bring back the coverage badge:

library(covr)p <- package_coverage("yourpackage", "all")
# This will return the % of coverage of the package
percent_coverage(tally_coverage(p))

Adding this will probably slow down the building of the new landing pages,
but it shouldn't take much longer than the time used for the tests and the
vignette.

Hope this helps,

Llu�s

[[alternative HTML version deleted]]

___
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel


This email message may contain legally privileged and/or confidential 
information.  If you are not the intended recipient(s), or the employee or 
agent responsible for the delivery of this message to the intended 
recipient(s), you are hereby notified that any disclosure, copying, 
distribution, or use of this email message is prohibited.  If you have received 
this message in error, please notify the sender immediately by e-mail and 
delete this email message from your computer. Thank you.
[[alternative HTML version deleted]]

___
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel


[Bioc-devel] Package coverage

2019-07-11 Thread Lluís Revilla
Dear Lori and all,

Some years ago there was a coverage badge, which disappeared when
transitioning to git. Afterwards there were some mails about including the
coverage badge on package's landing page again (
https://stat.ethz.ch/pipermail/bioc-devel/2017-November/012417.html), but
still there isn't one.

As there is some interest from the core, and I don't know how to add it to
the package builder: https://github.com/Bioconductor/packagebuilder. (I
guess somewhere in builder.py?) I would like to contribute some lines to
bring back the coverage badge:

library(covr)p <- package_coverage("yourpackage", "all")
# This will return the % of coverage of the package
percent_coverage(tally_coverage(p))

Adding this will probably slow down the building of the new landing pages,
but it shouldn't take much longer than the time used for the tests and the
vignette.

Hope this helps,

Lluís

[[alternative HTML version deleted]]

___
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel