trem_set_api_key: Set Tremendous API Key in .Renviron

Description Usage Arguments Value Examples

View source: R/utils_api-key.R

Description

Set Tremendous API Key in .Renviron

Usage

1

Arguments

api_key

API key from tremendous.com.

Value

NA; Used to set the Tremendous API key for persistent use in '.Renviron'.

Examples

1
2
3
4
5
6
7
if (interactive()) {
  # For Sandbox Environment, your API key should look like:
  trem_set_api_key("TEST_YOUR-API-KEY")

  # For Production Environment, your API key should look like:
  trem_set_api_key("PROD_YOUR-API-KEY")
}

tremendousr documentation built on Sept. 30, 2021, 5:09 p.m.