ropensci-review-tools / srr

Software Review Roclets
https://docs.ropensci.org/srr/
Other
4 stars 2 forks source link

Summarise numbers of standards in each category #20

Closed mpadge closed 2 years ago

mpadge commented 2 years ago

So that section breaks from the roclets that currently look like the following also include number in each category and total number of applicable standards:

## Updating roxygen version in /tmp/RtmpUNvkTn/package/DESCRIPTION
## ℹ Loading package
## Writing NAMESPACE
## ──────────────────── rOpenSci Statistical Software Standards ───────────────────
## 
## ── @srrstats standards:
##   * [G1.1, G1.2, G1.3, G2.0, G2.1] in function 'test_fn()' on line#11 of file [R/test.R]
##   * [RE2.2] on line#2 of file [tests/testthat/test-a.R]
##   * [G2.3] in function 'test()' on line#6 of file [src/cpptest.cpp]
##   * [G1.4] on line#17 of file [./README.Rmd]
## 
## ── @srrstatsNA standards:
##   * [RE3.3] on line#5 of file [R/srr-stats-standards.R]
## 
## ── @srrstatsTODO standards:
##   * [RE4.4] on line#14 of file [R/srr-stats-standards.R]
##   * [RE1.1] on line#11 of file [R/test.R]
##   * [G1.5] on line#17 of file [./README.Rmd]
## ────────────────────────────────────────────────────────────────────────────────

Also then put those numbers on the output of srr_report, as well as the pre_submit() function.