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

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

if (FALSE) set_credentials(username = "user", password = "pass")