Skip to content

Commit

Permalink
fix test for #38
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Mar 13, 2024
1 parent 1b9bac7 commit 79f4552
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
@@ -1,6 +1,6 @@
Package: srr
Title: 'rOpenSci' Review Roclets
Version: 0.1.2
Version: 0.1.2.001
Authors@R:
person("Mark", "Padgham", , "mark@ropensci.org", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand Down
9 changes: 6 additions & 3 deletions codemeta.json
Expand Up @@ -8,7 +8,7 @@
"codeRepository": "https://github.com/ropensci-review-tools/srr",
"issueTracker": "https://github.com/ropensci-review-tools/srr/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.1.2",
"version": "0.1.2.001",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down Expand Up @@ -186,7 +186,7 @@
},
"sameAs": "https://CRAN.R-project.org/package=roxygen2"
},
"SystemRequirements": null
"SystemRequirements": {}
},
"fileSize": "1414.08KB",
"citation": [
Expand All @@ -206,6 +206,9 @@
}
],
"readme": "https://github.com/ropensci-review-tools/srr/blob/main/README.md",
"contIntegration": ["https://github.com/ropensci-review-tools/srr/actions", "https://codecov.io/gh/ropensci-review-tools/srr"],
"contIntegration": [
"https://github.com/ropensci-review-tools/srr/actions",
"https://codecov.io/gh/ropensci-review-tools/srr"
],
"developmentStatus": "https://www.repostatus.org/#concept"
}
5 changes: 2 additions & 3 deletions tests/testthat/test-report.R
@@ -1,4 +1,3 @@

test_that ("srr_report", {

path <- srr_stats_pkg_skeleton ()
Expand Down Expand Up @@ -46,6 +45,6 @@ test_that ("srr_report", {
expect_type (r, "character")
expect_true (length (r) > 400L)

# Should be no missing standards:
expect_false (any (grepl ("Missing Standards", r)))
# Should be missing G1.4:
expect_true (any (grepl ("Missing Standards", r)))
})

0 comments on commit 79f4552

Please sign in to comment.