set_api_key: Set Peer Models Network (PMN) API key

View source: R/user-settings.R

set_api_keyR Documentation

Set Peer Models Network (PMN) API key

Description

API key to communicate with models hosted on the Peer Models Network.

Usage

set_api_key(key, overwrite = FALSE, temporary = FALSE)

Arguments

key

a Peer Models Network API key. For more information on keys see the Peer Models Network

overwrite

Option to overwrite any existing PMN keys already stored locally.

temporary

Option to not store thew API key for use across sessions.

Examples

## Not run: 
set_api_key("YOUR_PMN_API_KEY")

# This will set the key permanently until overwritten again
set_api_key("YOUR_PMN_API_KEY")

## End(Not run)

resplab/peermodels documentation built on June 6, 2023, 12:15 p.m.