Skip to content

Commit

Permalink
extend text in pkg-stats dashboard page
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Dec 5, 2024
1 parent 39c1faf commit 819c90a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
15 changes: 13 additions & 2 deletions inst/extdata/quarto/fn-stats.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Plot.plot({
y: "value",
z: "measure",
text: "measure",
textAnchor: "end",
textAnchor: "start",
dx: 3,
fontSize: 18
})
Expand Down Expand Up @@ -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"))]
Expand Down

0 comments on commit 819c90a

Please sign in to comment.