Skip to content

Commit

Permalink
fixes #40
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Apr 5, 2022
1 parent 7074e2a commit ecb314e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 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.0.4.004
Version: 0.0.4.005
Authors@R:
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand Down
3 changes: 2 additions & 1 deletion R/rd-stats.R
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ get_one_params <- function (man_file) {
rd <- tools::parse_Rd (f)
chk <- file.remove (f) # nolint

out <- utils::capture.output (tools::Rd2txt (rd))
# For 'stages' param, see #40
out <- utils::capture.output (tools::Rd2txt (rd, stages = "build"))
doclines <- length (out [out != ""])

if (!rd_is_fn (rd)) {
Expand Down
2 changes: 1 addition & 1 deletion codemeta.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,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.0.4.004",
"version": "0.0.4.005",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit ecb314e

Please sign in to comment.