Skip to contents

Check Access to GENIE Data

Usage

check_genie_access(username = NULL, password = NULL)

Arguments

username

'Synapse' username. If NULL, package will search package environment for "username". If not found, package will look in environmental variables for `SYNAPSE_USERNAME`.

password

'Synapse' password. If NULL, package will search package environment for "password". If not found package will search environmental variables for `SYNAPSE_PASSWORD`.

Value

A success message if you are able to access GENIE BPC data; otherwise an error

Author

Karissa Whiting

Examples

if (FALSE) {
# if credentials are saved:
check_genie_access()
}