Skip to content

Commit 4e9f51f

Browse files
committed
save two data files for dashboard (repo + user)
1 parent 11d331a commit 4e9f51f

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
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.3.008
3+
Version: 0.1.3.009
44
Authors@R:
55
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-2172-5265"))

R/quarto-dashboard.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ repometrics_dashboard <- function (data, action = "preview") {
2525
path_src <- system.file ("extdata", "quarto", package = "repometrics")
2626
path_dest <- fs::path (fs::path_temp (), "quarto")
2727
dir <- fs::dir_copy (path_src, path_dest, overwrite = TRUE)
28-
saveRDS (data, fs::path (dir, "results.Rds"))
28+
saveRDS (data, fs::path (dir, "results-pkg.Rds"))
2929

3030
pkg_name <- data$pkgstats$desc_data$package [1]
3131
quarto_insert_pkg_name (dir, pkg_name)

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.3.008",
11+
"version": "0.1.3.009",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",

inst/extdata/quarto/contributors.qmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ requireNamespace ("tidyr", quietly = TRUE)
1717
## Git log
1818

1919
```{r load-data}
20-
dat <- readRDS ("results.Rds")
20+
dat <- readRDS ("results-pkg.Rds")
2121
```
2222
```{r ctbs-git-data}
2323
ctbs <- dat$rm$contributors

inst/extdata/quarto/fn-stats.qmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ per function, along with the sum over all functions within the package. These
3131
the other measures.
3232

3333
```{r load-data}
34-
dat <- readRDS ("results.Rds")$pkgstats
34+
dat <- readRDS ("results-pkg.Rds")$pkgstats
3535
```
3636
```{r stats-data}
3737
cols <- names (dat$stats) [which (!names (dat$stats) %in% c ("package", "version"))]

0 commit comments

Comments
 (0)