Skip to content

Commit

Permalink
allow get_ctags to work outside R pkg structure
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Apr 11, 2024
1 parent bea1114 commit e2c5268
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: pkgstats
Title: Metrics of R Packages
Version: 0.1.3.011
Version: 0.1.3.012
Authors@R:
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand Down
2 changes: 2 additions & 0 deletions R/tag-data-ctags.R
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ get_ctags <- function (d = "R", has_tabs) {
fields <- "eFKlnN"
} else if (d %in% c ("src", "inst")) {
fields <- "eFKlnN"
} else { # Generic for adapation to other non-R-pkg dirs
fields <- "eFKlnN"
}

ptn <- paste0 ("ctags-", Sys.getpid (), "-")
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"codeRepository": "https://github.com/ropensci-review-tools/pkgstats",
"issueTracker": "https://github.com/ropensci-review-tools/pkgstats/issues",
"license": "https://spdx.org/licenses/GPL-3.0",
"version": "0.1.3.011",
"version": "0.1.3.012",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit e2c5268

Please sign in to comment.