Re: [R-pkg-devel] ORCID ID finder via tools::CRAN_package_db() ?

2024-08-19 Thread Dirk Eddelbuettel
On 19 August 2024 at 15:15, Thierry Onkelinx wrote: | Maybe checklist:::author2df() might be useful. It is an unexported function | from my checklist package. It converts a person() object to a dataframe. | https://github.com/inbo/checklist/blob/5649985b58693acb88337873ae14a7d5bc018d96 | /R/stor

Re: [R-pkg-devel] ORCID ID finder via tools::CRAN_package_db() ?

2024-08-19 Thread Thierry Onkelinx
Dear Dirk, Maybe checklist:::author2df() might be useful. It is an unexported function from my checklist package. It converts a person() object to a dataframe. https://github.com/inbo/checklist/blob/5649985b58693acb88337873ae14a7d5bc018d96/R/store_authors.R#L38 df <- tools::CRAN_package_db() lapp

[R-pkg-devel] ORCID ID finder via tools::CRAN_package_db() ?

2024-08-19 Thread Dirk Eddelbuettel
Has anybody written a quick helper function that extracts the Authors@R field from tools::CRAN_package_db() and 'stems' it into 'Name, Firstname, ORCID' which one could use to look up ORCID IDs at CRAN? The lookup at orcid.org sometimes gives us 'private entries' that make it harder / impossible