Skip to content

Commit 85036df

Browse files
authored
Merge pull request #157 from ropensci-review-tools/docs
update docs for pkg embeddings
2 parents 4fd273a + e4563bb commit 85036df

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: pkgmatch
22
Title: Find R Packages Matching Either Descriptions or Other R Packages
3-
Version: 0.4.3.154
3+
Version: 0.4.3.155
44
Authors@R: c(
55
person("Mark", "Padgham", , "[email protected]", role = c("aut", "cre"),
66
comment = c(ORCID = "0000-0003-2172-5265")),

R/embeddings.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ convert_paths_to_pkgs <- function (packages) {
3434
#' (\url{https://ollama.com/jina/jina-embeddings-v2-base-en} for text, and
3535
#' \url{https://ollama.com/ordis/jina-embeddings-v2-base-code} for code).
3636
#'
37+
#' @note Although it is technically much faster to perform the extraction of
38+
#' text and code in parallel, doing so generates unpredictable errors in
39+
#' extracting tarballs, which frequently cause the whole process to crash. The
40+
#' only way to safely ensure that all tarballs are successfully extracted and
41+
#' code parsed it to run this single-threaded.
42+
#'
3743
#' @param packages A vector of either names of installed packages, or local
3844
#' paths to directories containing R packages.
3945
#' @param n_chunks Number of randomly permuted chunks of input text to use to

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/pkgmatch",
99
"issueTracker": "https://github.com/ropensci-review-tools/pkgmatch/issues",
1010
"license": "https://spdx.org/licenses/MIT",
11-
"version": "0.4.3.154",
11+
"version": "0.4.3.155",
1212
"programmingLanguage": {
1313
"@type": "ComputerLanguage",
1414
"name": "R",

man/pkgmatch_embeddings_from_pkgs.Rd

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)