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] , rOpenSci [fnd] (https://ropensci.org/, 019jywm96)
Maintainer: Maëlle Salmon <msmaellesalmon@gmail.com>
License: MIT + file LICENSE
Version: 0.0.0.9000
Built: 2025-03-21 06:20:00 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)