gar_setup_env_check: Setup wizard help - check if environment argument is set

Description Usage Arguments Details Value See Also

View source: R/setup_wizard.R

Description

Setup wizard help - check if environment argument is set

Usage

1
gar_setup_env_check(env_arg, set_to, edit_option = FALSE, session_user)

Arguments

env_arg

The environment argument to check

set_to

NULL or a string to set in .Renviron

edit_option

Pass edit_option = FALSE to edit an existing environment arg

session_user

1=user, 2=project scope of .Renviron

Details

Pass edit_option = FALSE to edit an existing environment arg, TRUE will check if it exists, and will pass if its present.

Value

TRUE once changes made

See Also

Other setup functions: gar_setup_auth_check(), gar_setup_auth_key(), gar_setup_clientid(), gar_setup_edit_renviron(), gar_setup_menu_do(), gar_setup_menu()


googleAuthR documentation built on April 2, 2021, 5:06 p.m.