check_genie_access: Check Access to GENIE Data

View source: R/synapse_authentication.R

check_genie_accessR Documentation

Check Access to GENIE Data

Description

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(s)

Karissa Whiting

Examples

## Not run: 
# if credentials are saved:
check_genie_access()

## End(Not run)

genieBPC documentation built on March 7, 2023, 6:46 p.m.