Skip to content

Commit

Permalink
fix coupla minor namespace issues
Browse files Browse the repository at this point in the history
  • Loading branch information
mpadge committed Sep 18, 2024
1 parent 627d657 commit 6388e30
Show file tree
Hide file tree
Showing 4 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: pkgsimil
Title: Similarity Metrics between R Packages
Version: 0.1.2.006
Version: 0.1.2.007
Authors@R: c(
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
comment = c(ORCID = "0000-0003-2172-5265")))
Expand Down
2 changes: 1 addition & 1 deletion R/embeddings.R
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,6 @@ pkgsimil_dl_embeddings <- function (fns = FALSE) {
url <- paste0 (url_base, version, "/", file)

destfile <- fs::path (pkgsimil_cache_path (), file)
download.file (url, destfile = destfile)
utils::download.file (url, destfile = destfile)
return (destfile)
}
2 changes: 1 addition & 1 deletion R/similar-pkgs.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pkgsimil_similar_fns <- function (input, embeddings = NULL, n = 5L) {
colnames (embeddings) [index]
}

order_ouput <- function (out, what = "text", n) {
order_output <- function (out, what = "text", n) {
index <- order (out [[what]])
out <- out [index [seq_len (n)], c ("pkg", what)]
rownames (out) <- NULL
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/pkgsimil",
"issueTracker": "https://github.com/ropensci-review-tools/pkgsimil/issues",
"license": "https://spdx.org/licenses/MIT",
"version": "0.1.2.006",
"version": "0.1.2.007",
"programmingLanguage": {
"@type": "ComputerLanguage",
"name": "R",
Expand Down

0 comments on commit 6388e30

Please sign in to comment.