set_credentials: Set NITRC credentials.

View source: R/set_credentials.R

set_credentialsR Documentation

Set NITRC credentials.

Description

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

Usage

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

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

neuroconductor/nitrcbot documentation built on Feb. 6, 2023, 9:17 p.m.