diff --git a/DESCRIPTION b/DESCRIPTION index 32bc72d..d8a3cd3 100755 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: repometrics Title: Metrics for Your Code Repository -Version: 0.1.2.034 +Version: 0.1.2.035 Authors@R: person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0003-2172-5265")) diff --git a/codemeta.json b/codemeta.json index fe3a7ca..126322b 100644 --- a/codemeta.json +++ b/codemeta.json @@ -8,7 +8,7 @@ "codeRepository": "https://github.com/ropensci-review-tools/repometrics", "issueTracker": "https://github.com/ropensci-review-tools/repometrics/issues", "license": "https://spdx.org/licenses/GPL-3.0", - "version": "0.1.2.034", + "version": "0.1.2.035", "programmingLanguage": { "@type": "ComputerLanguage", "name": "R", diff --git a/inst/extdata/quarto/fn-stats.qmd b/inst/extdata/quarto/fn-stats.qmd index 6ace798..714a3f6 100644 --- a/inst/extdata/quarto/fn-stats.qmd +++ b/inst/extdata/quarto/fn-stats.qmd @@ -96,7 +96,7 @@ Plot.plot({ y: "value", z: "measure", text: "measure", - textAnchor: "end", + textAnchor: "start", dx: 3, fontSize: 18 }) @@ -139,7 +139,18 @@ Plot.plot({ ## General data -This plot shows some general data. +This plot shows data on the following three aspects: + +- `authors` = Numbers of package authors, distinguishing between authors (with +"aut" role) and contributors (with "ctb" role). These are extracted directly +from the package `DESCRIPTION` file, whereas values displayed in the +"Contributors" page are taken from both Git logs and GitHub, regardless of +presence in the `DESCRIPTION` file. +- `functions` = Numbers of functions in the package, distinguishing between +exported functions and total number including both exported and non-exported +functions. +- `external` = Numbers of external calls to functions from other packages, +distinguishing between calls to base R itself, and calls to all other packages. ```{r desc-data} cols <- names (dat$desc_data) [which (!names (dat$desc_data) %in% c ("package"))]