Skip to content

Commit 3c92207

Browse files
authored
Merge pull request #359 from ropensci-review-tools/pkgstats-data
hard-code pkgstats fn-names data release version; fixes #358
2 parents d5c76da + eecfe17 commit 3c92207

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: pkgcheck
22
Title: rOpenSci Package Checks
3-
Version: 0.1.2.274
3+
Version: 0.1.2.275
44
Authors@R: c(
55
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-2172-5265")),

R/check-unique-fn-names.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
PKGSTATS_RELEASE_VERSION <- "v0.1.6"
2+
13
#' Check whether all function names are unique.
24
#'
35
#' Uses the database of function names from all CRAN packages associated with
@@ -102,7 +104,8 @@ cache_fn_name_db <- function (force_update = FALSE) {
102104
u <- paste0 (
103105
"https://api.github.com/repos/",
104106
"ropensci-review-tools/pkgstats/",
105-
"releases/latest"
107+
"releases/tags/",
108+
PKGSTATS_RELEASE_VERSION
106109
)
107110

108111
res <- curl::curl_fetch_memory (u)

codemeta.json

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

0 commit comments

Comments
 (0)