[R-pkg-devel] ORCID ID finder via tools::CRAN_package_db() ?
Dirk Eddelbuettel
edd @end|ng |rom deb|@n@org
Wed Aug 21 14:54:00 CEST 2024
On 21 August 2024 at 07:43, Dirk Eddelbuettel wrote:
|
| On 20 August 2024 at 15:47, Kurt Hornik wrote:
| | >>>>> Kurt Hornik writes:
| |
| | The variant attaches drops the URL and does unique.
|
| Nice. Alas, some of us default to r-release as the daily driver and then
|
| Error in unname(tools:::.ORCID_iD_canonicalize(o)) :
| object '.ORCID_iD_canonicalize' not found
| >
|
| Will play with my 'RD' which I keep approximately 'weekly-current'. Quick
| rebuild first.
As simple as adding
.ORCID_iD_canonicalize <- function (x) sub(tools:::.ORCID_iD_variants_regexp, "\\3", x)
and making the call (or maybe making it a lambda anyway ...)
oid = unname(.ORCID_iD_canonicalize(o)))
After adding
a <- sort_by(a, ~ a$family + a$given)
the first 48 out if a (currently) total of 6465 are empty for family.
> sum(a$family == "")
[1] 48
>
Rest is great!
Dirk
--
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org
More information about the R-package-devel
mailing list