ropensci / software-review-meta

For organizing projects related to rOpenSci Software Peer Review
10 stars 3 forks source link

Generate package code statistics on submission #42

Closed noamross closed 3 years ago

noamross commented 6 years ago

It would be useful to get package code statistics via cloc on submission. A bonus would be if cloc could distinguish between raw comments (often indicators of "ghost code") and roxygen comments (which may indicate well-developed documentation).

maelle commented 6 years ago
maelle commented 6 years ago

We'd also need to decide what to do with the info. If a pkg is gigantic, suggest splitting +warn potential reviewers?

Oh and looking for code duplication cf https://github.com/MangoTheCat/goodpractice/issues/78

maelle commented 6 years ago

Does launchboat handle this @noamross ?

noamross commented 6 years ago

Yes, it has a cloc report, though launchboat needs some work. Also I had discussed another idea for a package with Bob at the unconf, cranstats, that would hold pre-generated cloc and other data for all packages on CRAN, and then when run on a local package would show where it falls in the distribution.

maelle commented 3 years ago

Handled via pkgreport cc @mpadge