Qubixity.net
  • AI is the Future
  • AI
  • AI Music
  • AI News
  • Art
  • Cadabra
    • Cartan structural equations and Bianchi identity
    • Einstein equations from a variational principle
  • Cities
  • Cosmology & Computing
  • Data Science
    • DS Articles
    • Life Expectancy
  • General Relativity & Quantum Cosmology
    • GR & QC Articles
  • Mathematica
    • Monte Carlo Intergration
  • RStudio
    • Quarto Cars
    • Quarto Cars v2
  • Science
    • Computer Science
  • Science Magazine
  • WordPress Blogging
    • CyberSEO
    • Divi AI
    • Namecheap
  • Privacy Policy
Select Page

“Roaring Support: Including ROR IDs in DESCRIPTION”

by jsendak | May 9, 2025 | DS Articles | 0 comments

[This article was first published on rOpenSci – open tools for open science, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)


Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t.

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:

person("Maëlle", "Salmon", , "maelle@ropensci.org", role = c("cre", "aut"),
 comment = c(ORCID = "0000-0002-2815-0399"))

Although anyone could use your ORCID, maliciously or inadvertently1, you definitely benefit from using your ORCID in your work.
In the case of R packages, CRAN pages and pkgdown websites feature a pretty icon linking to your ORCID profile that in turn can link to your favorite online presence.
Recognition! Personal branding!

This year, the exact same idea was applied to organizations using ROR (“Research Organizations Registry”) IDs.
Any organization, be it a research organization, an initiative or a company, can request to be listed in the registry.
A few months ago, it became possible to list ROR IDs in DESCRIPTION, which a few dozen
CRAN packages currently do –
although this is still far from the thousands of CRAN packages adopting ORCIDs.
Thanks to R Core for adding the feature2 and to Achim Zeileis for spreading the news.

A package maintainer might need to list organizations in DESCRIPTION: for instance a company that owns the copyright to the package (“cph” role), an entity that funded work on the software (“fnd” role).
Adding the organization’s ROR ID to its person() object identifies it even more clearly.
As an illustration, rOpenSci can be represented by:

person("rOpenSci", role = "fnd",
 comment = c("https://ropensci.org/", ROR = "019jywm96"))

The ROR icon, although less striking than the bright green ORCID icon, appears on the CRAN page of the package and links to the organization’s ROR page that in turn can link to the organization’s website:

Screenshot of the CRAN page of the vcr package. Near the names of human authors Scott Chamberlain and Aaron Wolen are small ORCID icons. Near the name of the organizational author rOpenSci is a small ROR icon.

In 2018 we had reported about tooling for using ORCID.
This year, we’d like to explain the tooling for including ROR IDs.

ROR support in the {devtools} ecosystem

Once ROR IDs were supported by base R, a next technical step was for them to be supported by Posit’s “devtools ecosystem” too.
Even if devtools is not strictly necessary for developing packages, many package developers, including some in the rOpenSci community, do use devtools.

The code supporting ROR in desc, roxygen2 and pkgdown follows the code supporting ORCID in those packages.
It is very fortunate that ORCID support was added before ROR because “orcid” is a better string to search for than “ror” that comes up in, say, “error”. 😸

ROR IDs support in {desc}

The desc package, maintained by Gábor Csárdi, helps you manipulate DESCRIPTION files programmatically.
In its current development version, all functions handling authors (adding, searching or complementing entries) now feature a ror argument.
Furthermore, a new function, desc_add_ror(), was created.

For instance you can add a ROR ID to an author entry:

desc::desc_add_ror("019jywm96", given = "rOpenSci")

You can add an author entry including its ROR ID:

desc::desc_add_author(given = "rOpenSci", ror = "019jywm96", role = "fnd")

These functions can be handy to update a bunch of packages at once.
Even if packages are updated one by one, it is shorter to share and apply the instructions as a code snippet.

ROR support in {roxygen2}

The roxygen2 package, maintained by Hadley Wickham, generates your package’s NAMESPACE and manual pages using specially formatted comments.
Among those manual pages, your package might (and should, according to our dev guide) contains a package-level one.
You can create such a page using usethis::use_package_doc().
The following content will be added to R/package-name-package.R, for instance R/usethis-package.R.

#' @keywords internal
"_PACKAGE"

## usethis namespace: start
## usethis namespace: end
NULL

Running devtools::document() will create an Rd file for ?package-name, whose content comes from DESCRIPTION, including ORCIDs and ROR IDs.

In this case, you might want to install roxygen2’s development version to see the ROR ID properly reformatted to an URL.
Example of the tinkr package: package-level doc source,
package-level manual page,
manual page on pkgdown.

ROR support in {pkgdown}

The pkgdown package, maintained by Hadley Wickham, creates a documentation website for your package based on its metadata and documentation.
Since its 2.1.2 version, ROR IDs in DESCRIPTION are transformed into icons, similar to ORCID IDs.

The sidebar of tinkr’s website includes a ROR icon near rOpenSci name.

Support for ROR icons?

As of today, ROR icons like those on the CRAN pages, pkgdown websites and our website’s footer come from files. We have however opened an icon request for ROR in the Font Awesome repository, that you can upvote by using thumbs up. This strategy worked for ORCID. There’s already a ROR icon in the more specialized academicons library.

Conclusion: go forth, register and use ROR IDs!

In this tech note, we explained what ROR IDs are: persistent IDs for organizations.
They are to organizations what ORCIDs are to individuals.
We’ve shown ROR IDs are supported in the base R and devtools ecosystems.

ROR IDs can help identify more clearly an entity you list in your package’s DESCRIPTION because it, say, funded the work or owns the copyrights to it.
We encourage you to register your organization to the Research Organization Registry and to use the resulting ID in your package’s DESCRIPTION.
Such a task could be tackled during a package spring cleaning.


  1. Don’t we all resort to copy-pasting formatting from others’ metadata files? 😅 ↩︎

  2. Currently, packages on CRAN with a ROR ID in DESCRIPTION get a NOTE in CRAN checks, that can be ignored. Example ↩︎

To leave a comment for the author, please follow the link and comment on their blog: rOpenSci – open tools for open science.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you’re looking to post or find an R/data-science job.


Want to share your content on R-bloggers? click here if you have a blog, or here if you don’t.

Continue reading: Roaringly Acknowledge Organizations with ROR IDs in DESCRIPTION

Key Points

The R community uses special identifiers such as ORCID (“Open Researcher and Contributor ID”) and ROR (“Research Organizations Registry”) to uniquely and persistently identify individual authors and organizations involved in the creation of R packages. These identifiers offer recognition, a personal and organization brand element and can be linked to online profiles or websites.

Long-Term Implications

If used consistently and appropriately, ORCID and ROR IDs can greatly support the open science movement by ensuring clear attributions of contributions to scientific packages and results. This can foster transparency and collaboration within the scientific community, stimulating research and development. In the future, these IDs could become a standard tool for recognizing the work of researchers and organizations involved in the creation of scientific packages. It could also enhance the mobility and recognition of individual contributors across multiple projects.

Possible Future Developments

We may witness an expansion of these unique identifiers in other areas of open-source development, reaching beyond the scientific community. As these identifiers grow in popularity, they could integrate with other digital tools used by researchers, such as digital repositories, lab notebooks and bibliographic management tools. This would allow for a seamless tracking and crediting of research contributions, while also promoting open science practices.

Actionable Advice

If you’re a part of the R community or if you’re engaged with open source development, consider adopting the use of ORCID and ROR IDs. Registering your organization with the Research Organization Registry and using these IDs consistently can enhance visibility and recognition for your work. Also, take advantage of the tooling available for including ROR IDs such as in ‘devtools’, ‘desc’, ‘roxygen2’ and ‘pkgdown’ packages.

If you’re already using these identifiers, explore further how you can integrate them with other tools and platforms you use. And lastly, contribute to further enhancement of the system by submitting and voting for icon requests.

Read the original article

Submit a Comment Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Recent Posts

  • “The Wisdom in My Eyes: A Friend’s Perspective”
  • “Roaring Support: Including ROR IDs in DESCRIPTION”
  • “Revolutionize Your Code with Reusable Custom Decorators”
  • “Unlocking the Potential of Expired Domains for Small Businesses and Start-ups”
  • “Introducing SSH-Net: A Self-Supervised Hybrid Network for Noisy Image Watermark

Recent Comments

No comments to show.

Archives

  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • May 2023
  • March 2023
  • January 2023
  • December 2022
  • October 2022
  • September 2022
  • July 2022
  • June 2022
  • May 2022
  • January 2022
  • October 2021
  • May 2021
  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020

Categories

  • AI
  • AI News
  • Art
  • ArXiv
  • Cities
  • Computer Science
  • Cosmology & Computing
  • CyberSEO
  • DS Articles
  • GR & QC Articles
  • Music
  • Namecheap
  • News
  • Science
  • Facebook
  • X
  • Instagram
  • RSS

Designed by Elegant Themes | Powered by WordPress