setCreds: Sets tgR environment variables

Description Usage Arguments Details Value Author(s)

View source: R/setCreds.R

Description

Sets tgR environment variables

Usage

1
setCreds(path, tokenSet = "file")

Arguments

path

The path to the file to source that contains appropriately defined environment variables (see requiredCredentials.R for an example).

tokenSet

Which token set to apply, default is "file", and then a path to a credentials file is required. Other options include "admin" or "app".

Details

Requires the desired REDCap and S3 credentials to be set in the environment or be available in an R file specified.

Value

Nothing, sets environment variables for the remaining functions to work.

Author(s)

Amy Paguirigan


FredHutch/tgR documentation built on Oct. 5, 2021, 8:39 a.m.