gnu: Add r-covr.

* gnu/packages/cran.scm (r-covr): New variable.
This commit is contained in:
Ricardo Wurmus 2019-09-07 23:50:15 +02:00
parent 1d03a9198d
commit 7a5ed348c0
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 32 additions and 0 deletions

View File

@ -15212,3 +15212,35 @@ single cell integration, described in Korsunsky et al
@url{doi.org/10.1101/461954}. The package includes a standalone Harmony
function and interfaces to external frameworks.")
(license license:gpl3))))
(define-public r-covr
(package
(name "r-covr")
(version "3.3.1")
(source
(origin
(method url-fetch)
(uri (cran-uri "covr" version))
(sha256
(base32
"0fvd7v53w11x6kaw61hbml8n1j2ck9l2fv2wvqdsg689xic9rqcs"))))
(properties `((upstream-name . "covr")))
(build-system r-build-system)
(propagated-inputs
`(("r-crayon" ,r-crayon)
("r-digest" ,r-digest)
("r-httr" ,r-httr)
("r-jsonlite" ,r-jsonlite)
("r-rex" ,r-rex)
("r-withr" ,r-withr)
("r-yaml" ,r-yaml)))
(home-page "https://github.com/r-lib/covr")
(synopsis "Test coverage for R packages")
(description
"Thisp package enables you to track and report code coverage for your
package and (optionally) upload the results to a coverage service. Code
coverage is a measure of the amount of code being exercised by a set of tests.
It is an indirect measure of test quality and completeness. This package is
compatible with any testing methodology or framework and tracks coverage of
both R code and compiled C/C++/FORTRAN code.")
(license license:gpl3)))