Skip to content

Commit 9151178

Browse files
committed
fix bug in test-dashboard for #59
1 parent 31f8e8f commit 9151178

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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.040
3+
Version: 0.1.3.041
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.3.040",
11+
"version": "0.1.3.041",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",

tests/testthat/test-dashboard.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ test_that ("dashboard build", {
4242
repometrics_dashboard (data_repo, data_users, action = "render")
4343

4444
# Expect quarto docs to have been modified with package name:
45-
pkg_name <- data$pkgstats$desc_data$package [1]
45+
pkg_name <- data_repo$pkgstats$desc_data$package [1]
4646
path_tmp <- fs::path (fs::path_temp (), "quarto")
4747
expect_true (fs::dir_exists (path_tmp))
4848

0 commit comments

Comments
 (0)