Skip to content

Commit dc06117

Browse files
committed
update models vignette for #124
1 parent 1ca53fa commit dc06117

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: repometrics
22
Title: Metrics for Your Code Repository
3-
Version: 0.1.6.144
3+
Version: 0.1.6.145
44
Authors@R:
55
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-2172-5265"))

codemeta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"codeRepository": "https://github.com/ropensci-review-tools/repometrics",
99
"issueTracker": "https://github.com/ropensci-review-tools/repometrics/issues",
1010
"license": "https://spdx.org/licenses/GPL-3.0",
11-
"version": "0.1.6.144",
11+
"version": "0.1.6.145",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",

vignettes/chaoss-models.Rmd

+14-4
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,21 @@ individual ["metrics"](https://chaoss.community/kbtopic/all-metrics/):
2222

2323
> to provide deeper context and answer more complex questions about a community's health.
2424
25-
These models are not hard-coded here, rather the
26-
metrics used in each are defined within a single JSON file stored at
25+
The metrics used in the models are described in the separate [*CHAOSS metrics*
26+
vignette](https://docs.ropensci.org/repometrics/articles/chaoss-models.html),
27+
and are detailed in the `data.frame` returned by [the
28+
`rm_chaoss_metrics_list()`
29+
function](https://docs.ropensci.org/repometrics/reference/rm_chaoss_metrics_list.html).
30+
31+
In contrast to the metrics, each of which is encoded as a separate function
32+
within this package, the models are not hard-coded, rather the metrics used in
33+
each are defined within a single JSON file stored at
2734
[`extdata/chaoss-models/chaoss-models.json`](https://github.com/ropensci-review-tools/repometrics/blob/main/inst/extdata/chaoss-models/chaoss-models.json)
28-
in the `inst` sub-directory of the package. This allows the file to be accessed
29-
by loading the package:
35+
in the `inst` sub-directory of the package. This allows the model construction
36+
to be easily modified without needing to modify the underlying code of this
37+
package.
38+
39+
The file can be accessed by loading the package:
3040

3141
```{r setup}
3242
library (repometrics)

0 commit comments

Comments
 (0)