Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-24 Thread Kurt Hornik
> Dirk Eddelbuettel writes: > On 23 May 2024 at 20:02, Ivan Krylov wrote: > | On Wed, 22 May 2024 09:18:13 -0500 > | Dirk Eddelbuettel wrote: > | > | > Testing via 'nm' as you show is possible but not exactly 'portable'. > | > So any suggestions as to what to condition on here? > | > | (My

Re: [R-pkg-devel] Compile issues on r-devel-linux-x86_64-debian-clang with OpenMP

2024-05-26 Thread Kurt Hornik
> Dirk Eddelbuettel writes: > Kurt, > Could you do me a favour and run on that clang18-using machine in question > the following one-liner (provided your session has access to a .libPaths() > including Rcpp) and, in the case of success, the resulting function? I can: R> Rcpp::cppFunction("

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

2024-08-20 Thread Kurt Hornik
> Dirk Eddelbuettel writes: Dirk et al, Sorry for not replying any sooner :-) I think for now you could use something like what I attach below. Not ideal: I had not too long ago starting adding orcidtools.R to tools, which e.g. has .persons_from_metadata(), but that works on the unpacked so

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

2024-08-20 Thread Kurt Hornik
>>>>> Dirk Eddelbuettel writes: > On 20 August 2024 at 07:57, Dirk Eddelbuettel wrote: > | > | Hi Kurt, > | > | On 20 August 2024 at 14:29, Kurt Hornik wrote: > | | I think for now you could use something like what I attach below. > | | > | | Not ideal:

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

2024-08-20 Thread Kurt Hornik
>>>>> Kurt Hornik writes: The variant attaches drops the URL and does unique. Hmm, the ones in head(with(a, sort_by(a, ~ family + given)), 100) without a family look suspicious ... Best -k x <- tools::CRAN_package_db() a <- lapply(x[["Authors@R&

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

2024-08-21 Thread Kurt Hornik
rry about tools:::.ORCID_iD_canonicalize(), had run into the same issue when building the authors db on the CRAN master (which uses current R release ...) > On 20 August 2024 at 15:47, Kurt Hornik wrote: > | >>>>> Kurt Hornik writes: > | > | The variant attaches drops the URL and does uniq

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

2024-08-21 Thread Kurt Hornik
>>>>> Kurt Hornik writes: Committed now. Best -k >>>>> Dirk Eddelbuettel writes: > Meanwhile, I am close to committing a change to R-devel which adds > tools::CRAN_authors_db() with docs > \code{CRAN_authors_db()} returns information on the authors of

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

2024-08-21 Thread Kurt Hornik
>>>>> Dirk Eddelbuettel writes: Possibly yes, if there is enough "need" :-) Best -k > On 21 August 2024 at 15:47, Kurt Hornik wrote: > | >>>>> Kurt Hornik writes: > | > | Committed now. > That is just *lovely*: >> aut <- tools