Package 'commonmetar'

Title: Wraps Commonmeta For rOpenSci Blog's Needs
Description: Uses the commonmeta Go library to generate random DOI strings.
Authors: Maëlle Salmon [cre, aut] (ORCID: <https://orcid.org/0000-0002-2815-0399>), rOpenSci [fnd] (https://ropensci.org/, ROR: <https://ror.org/019jywm96>)
Maintainer: Maëlle Salmon <[email protected]>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2025-04-29 08:24:05 UTC
Source: https://github.com/ropensci-org/commonmetar

Help Index


Generate random DOI string

Description

Generate random DOI string

Usage

commonmeta_doi(prefix = "10.59350")

Arguments

prefix

DOI prefix

Value

A random DOI string

Examples

commonmeta_doi()

Install latest version of commonmeta

Description

Downloads binary from commonmeta releases, and installs in system wide cache.

Usage

commonmeta_install(os = NULL, arch = "x86_64", force = FALSE)

Arguments

os

Operating system, one of "Linux", "Windows", "Darwin". Defaults to current operating system. Will be guessed automatically.

arch

Architecture

force

Whether to force a re-install/trigger an update.

Examples

## Not run: 
commonmeta_install()

## End(Not run)