Skip to content

Commit

Permalink
Merge pull request #70 from ropensci-review-tools/withtabs
Browse files Browse the repository at this point in the history
fix 'rm_tabs' when pkg has tabs #68
  • Loading branch information
mpadge authored Oct 23, 2024
2 parents 44d2d19 + 3768114 commit 8f41cf9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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.2.0.034
Version: 0.2.0.035
Authors@R:
person("Mark", "Padgham", , "mark.padgham@email.com", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265"))
Expand Down
4 changes: 2 additions & 2 deletions R/tag-data.R
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ rm_tabs <- function (d, nspaces = 2) {
)
tmpd <- fs::path (fs::path_temp (), tmpd)
fs::dir_create (tmpd, recurse = TRUE)
chk <- fs::file_copy (d, tmpd) # copies 'd' as sub-dir of tmpd
if (any (!chk)) {
chk <- fs::dir_copy (d, tmpd) # copies 'd' as sub-dir of tmpd
if (length (chk) != length (d)) {
stop ("Unable to copy files from [", d, "] to tempdir()")
}

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.2.0.034",
"version": "0.2.0.035",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit 8f41cf9

Please sign in to comment.