From 0028ffddf10a1310140b91f5f6b250354a017cf2 Mon Sep 17 00:00:00 2001 From: Rainer M Krug Date: Tue, 27 Oct 2026 20:22:51 +0100 Subject: [PATCH 1/4] chore: development version 0.3.5.9000 Co-Authored-By: Claude Opus 5.5 --- DESCRIPTION | 2 +- NEWS.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 079ac81..602075b 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: openalexVectorComp Type: Package Title: Embedding Vectorization and Distance-Based Scoring Workflows -Version: 0.3.5 +Version: 0.3.5.9000 Authors@R: c( person(given = "Rainer M", family = "Krug", role = c("aut", "cre"), email = "Rainer@krugs.de"), person(given = "ChatGPT", family = "Assistant", role = "ctb") diff --git a/NEWS.md b/NEWS.md index 43aa91b..f4451af 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # openalexVectorComp news +## development version + ## 0.3.5 ### Bug Fixes From 0097313912d1f5781c009c05d878ce0bca44e702 Mon Sep 17 00:00:00 2001 From: Rainer M Krug Date: Wed, 18 Nov 2026 16:12:34 +0100 Subject: [PATCH 2/4] docs: add citation files and ORCID - inst/CITATION: cites the package (Zenodo DOI) and the openalexPro ecosystem; version and year taken from the installed package - CITATION.cff for GitHub "Cite this repository" - .zenodo.json with ORCID and related identifiers; no version, Zenodo takes it from the release tag - DESCRIPTION: Authors@R with ORCID; drop AI tool contributors - .Rbuildignore: exclude CITATION.cff and .zenodo.json Co-Authored-By: Claude Opus 5.5 --- .Rbuildignore | 2 ++ .zenodo.json | 19 +++++++++++++++++++ CITATION.cff | 21 +++++++++++++++++++++ DESCRIPTION | 10 +++------- inst/CITATION | 33 +++++++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+), 7 deletions(-) create mode 100644 .zenodo.json create mode 100644 CITATION.cff create mode 100644 inst/CITATION diff --git a/.Rbuildignore b/.Rbuildignore index de5b702..db7d6c8 100644 --- a/.Rbuildignore +++ b/.Rbuildignore @@ -16,3 +16,5 @@ ^pkgdown$ ^\.github$ ^_site$ +^CITATION\.cff$ +^\.zenodo\.json$ diff --git a/.zenodo.json b/.zenodo.json new file mode 100644 index 0000000..9e1e3d7 --- /dev/null +++ b/.zenodo.json @@ -0,0 +1,19 @@ +{ + "title": "openalexVectorComp: Embedding Vectorization and Distance-Based Scoring Workflows", + "upload_type": "software", + "creators": [ + { + "name": "Krug, Rainer M", + "orcid": "0000-0002-7490-0066" + } + ], + "license": "MIT", + "keywords": ["OpenAlex", "bibliometrics", "R", "embeddings", "text vectorization", "openalexPro ecosystem"], + "related_identifiers": [ + { + "identifier": "https://openalexpro.github.io/", + "relation": "isPartOf", + "resource_type": "software" + } + ] +} diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..e48209b --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,21 @@ +cff-version: 1.2.0 +message: "If you use this software, please cite it as below." +type: software +title: "openalexVectorComp: Embedding Vectorization and Distance-Based Scoring Workflows" +authors: + - family-names: Krug + given-names: Rainer M + orcid: "https://orcid.org/0000-0002-7490-0066" +doi: 10.5281/zenodo.19607514 +license: MIT +repository-code: "https://github.com/openalexPro/openalexVectorComp" +url: "https://openalexpro.github.io/openalexVectorComp/" +keywords: [OpenAlex, bibliometrics, R, embeddings, text vectorization] +references: + - type: software + title: "The openalexPro ecosystem: R packages for large-scale work with OpenAlex" + authors: + - family-names: Krug + given-names: Rainer M + orcid: "https://orcid.org/0000-0002-7490-0066" + url: "https://openalexpro.github.io/" diff --git a/DESCRIPTION b/DESCRIPTION index 602075b..f75d5a5 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,13 +2,9 @@ Package: openalexVectorComp Type: Package Title: Embedding Vectorization and Distance-Based Scoring Workflows Version: 0.3.5.9000 -Authors@R: c( - person(given = "Rainer M", family = "Krug", role = c("aut", "cre"), email = "Rainer@krugs.de"), - person(given = "ChatGPT", family = "Assistant", role = "ctb") - ) -Author: Rainer M Krug [aut, cre], - ChatGPT Assistant [ctb] -Maintainer: Rainer M Krug +Authors@R: + person("Rainer M", "Krug", , "Rainer@krugs.de", role = c("aut", "cre"), + comment = c(ORCID = "0000-0002-7490-0066")) Description: R-first orchestration for text vectorization (embeddings), embedding distance computation, and distance-based scoring workflows. Supports backend-neutral embedding providers (HF, OpenAI, TEI), diff --git a/inst/CITATION b/inst/CITATION new file mode 100644 index 0000000..0c8977c --- /dev/null +++ b/inst/CITATION @@ -0,0 +1,33 @@ +citHeader("To cite openalexVectorComp in publications use:") + +# Version and year come from the installed package, so nothing to bump at release. +year <- substr(c(meta$`Date/Publication`, meta$Date, meta$Packaged, format(Sys.Date()))[1], 1, 4) + +bibentry( + bibtype = "Manual", + key = "openalexVectorComp", + title = "{openalexVectorComp}: Embedding Vectorization and Distance-Based Scoring Workflows", + author = person("Rainer M", "Krug", comment = c(ORCID = "0000-0002-7490-0066")), + year = year, + note = paste("R package version", meta$Version), + doi = "10.5281/zenodo.19607514", + url = "https://github.com/openalexPro/openalexVectorComp", + textVersion = paste0( + "Krug, R. M. (", year, "). openalexVectorComp: Embedding Vectorization and Distance-Based Scoring Workflows. ", + "R package version ", meta$Version, ". https://doi.org/10.5281/zenodo.19607514" + ) +) + +bibentry( + header = "openalexVectorComp is part of the openalexPro ecosystem; to cite the ecosystem as a whole use:", + bibtype = "Misc", + key = "openalexProEcosystem", + title = "The {openalexPro} ecosystem: R packages for large-scale work with OpenAlex", + author = person("Rainer M", "Krug", comment = c(ORCID = "0000-0002-7490-0066")), + year = year, + url = "https://openalexpro.github.io/", + textVersion = paste0( + "Krug, R. M. (", year, "). The openalexPro ecosystem: R packages for ", + "large-scale work with OpenAlex. https://openalexpro.github.io/" + ) +) From d11c6f42958eb06b4b0ce6579c03438fb84f8289 Mon Sep 17 00:00:00 2001 From: Rainer M Krug Date: Wed, 18 Nov 2026 16:24:55 +0100 Subject: [PATCH 3/4] chore: bump version to 0.3.6 Co-Authored-By: Claude Opus 5.5 --- DESCRIPTION | 2 +- NEWS.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index f75d5a5..7d0f6d1 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: openalexVectorComp Type: Package Title: Embedding Vectorization and Distance-Based Scoring Workflows -Version: 0.3.5.9000 +Version: 0.3.6 Authors@R: person("Rainer M", "Krug", , "Rainer@krugs.de", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-7490-0066")) diff --git a/NEWS.md b/NEWS.md index f4451af..1e5a01b 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,6 +1,8 @@ # openalexVectorComp news -## development version +## 0.3.6 + +\-\ Citation\:\ \`citation\(\"openalexVectorComp\"\)\`\ now\ cites\ the\ package\ with\ its\ Zenodo\ DOI\ and\,\ separately\,\ the\ openalexPro\ ecosystem\.\ Added\ \`CITATION\.cff\`\ \(GitHub\ \"Cite\ this\ repository\"\)\ and\ \`\.zenodo\.json\`\ \(Zenodo\ metadata\,\ linking\ the\ related\ ecosystem\ packages\)\.\ The\ author\'s\ ORCID\ is\ in\ \`DESCRIPTION\`\. ## 0.3.5 From a522053cf89f33921a8ba48409451334357523dd Mon Sep 17 00:00:00 2001 From: Rainer M Krug Date: Wed, 18 Nov 2026 16:25:12 +0100 Subject: [PATCH 4/4] docs: fix escaped NEWS entry for 0.3.6 Co-Authored-By: Claude Opus 5.5 --- NEWS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index 1e5a01b..1dd3d26 100644 --- a/NEWS.md +++ b/NEWS.md @@ -2,7 +2,7 @@ ## 0.3.6 -\-\ Citation\:\ \`citation\(\"openalexVectorComp\"\)\`\ now\ cites\ the\ package\ with\ its\ Zenodo\ DOI\ and\,\ separately\,\ the\ openalexPro\ ecosystem\.\ Added\ \`CITATION\.cff\`\ \(GitHub\ \"Cite\ this\ repository\"\)\ and\ \`\.zenodo\.json\`\ \(Zenodo\ metadata\,\ linking\ the\ related\ ecosystem\ packages\)\.\ The\ author\'s\ ORCID\ is\ in\ \`DESCRIPTION\`\. +- Citation: `citation("openalexVectorComp")` now cites the package with its Zenodo DOI and, separately, the openalexPro ecosystem. Added `CITATION.cff` (GitHub "Cite this repository") and `.zenodo.json` (Zenodo metadata, linking the related ecosystem packages). The author's ORCID is in `DESCRIPTION`. ## 0.3.5