Skip to contents

The goal of commonmetar is to allow rOpenSci blog editors to generate a random DOI strings for rOpenSci blog posts, that Rogue Scholar will then use for registration.

This package wraps the commonmeta Go library.

Setup

You can install the development version of the commonmetar R package from GitHub with:

# install.packages("pak")
pak::pak("ropensci-org/commonmetar")

Install the commonmeta Go library with

commonmetar::commonmeta_install()

Example

This is a basic example which shows you how to solve a common problem:

library(commonmetar)
commonmeta_doi()
#> [1] "https://doi.org/10.59350/wtb4q-ag214"