check_key: Check SHERPA/RoMEO API key

Description Usage Arguments Details Value

View source: R/utils.R

Description

The key can be either specified in various ways see the Details section.

Usage

1
check_key(key = NULL)

Arguments

key

[character(1)]
a character string containing the API key or NULL (see Details section on how to specify it)

Details

There are several ways to provide your API key. The best way to know about them is to refer to the vignette about "Setting Up Your API key" accessible with the following command: vignette("setting_up_api_key", package = "rromeo"). You can also use rr_auth that will use the provided key to store it as an environmental variable.

Value

if found the character string of the key, NULL otherwise


rromeo documentation built on March 13, 2020, 9:08 a.m.