rOpenSci | Roaringly Acknowledge Organizations with ROR IDs in DESCRIPTION

A few years ago, the R community started using ORCID (“Open Researcher and Contributor ID”) to persistently and uniquely identify individual authors of packages in DESCRIPTION. The idea is the following: you enter authors’ ORCID as a specially named comment in their person() object. For instance I can be represented by:


This is a companion discussion topic for the original entry at https://ropensci.org/blog/2025/05/09/ror

I can get the ROR ID to work, but I can’t duplicate the sort of structure in your example with a second entry in the vector aside from the ROR to work. For instance, if I include the project code along with GRDC’s ROR, I get this here

[ins] r$> devtools::document()
ℹ Updating read.abares documentation
ℹ Loading read.abares
Error in `map_chr()`:
ℹ In index: 4.
Caused by error:
! Result must be length 1, not 2.
Run `rlang::last_trace()` to see where the error occurred.

I tried the same as your example as well, using Curtin’s website, but I get the same error.

Any suggestions?

I think it is due to not using roxygen2’s version. I was able to reproduce the error but then noticed I had roxygen2’s CRAN version installed. I installed roxygen2’s dev version (pak::pak("r-lib/roxygen2")) and the error went away. Could you please confirm it works for you?

this indeed does fix the issue, thank you, @maelle!

1 Like