set_credentials: Set NITRC credentials.

Description Usage Arguments Value Examples

View source: R/set_credentials.R

Description

Sets and returns the NITRC credentials. Should error if it cannot find the environment variables or they are not provided.

Usage

1
set_credentials(username = NULL, password = NULL, error = TRUE)

Arguments

username

is the NITRC login user name. If NULL this will should be provided through the NITRC_WEB_USER system variable.

password

is the NITRC login user password If NULL this will should be provided through the NITRC_WEB_PASS system variable.

error

Should this function error if variables are not specifed?

Value

List of username and password

Examples

1
## Not run: set_credentials(username = "user", password = "pass")

neuroconductor/nitrcbot documentation built on Oct. 26, 2020, 9:18 a.m.