Setup wizard help - check if environment argument is set
gar_setup_env_check(env_arg, set_to, edit_option = FALSE, session_user)
env_arg
: The environment argument to checkset_to
: NULL or a string to set in .Renvironedit_option
: Pass edit_option = FALSE to edit an existing environment argsession_user
: 1=user, 2=project scope of .RenvironTRUE once changes made
Pass edit_option = FALSE to edit an existing environment arg, TRUE will check if it exists, and will pass if its present.
Other setup functions: gar_setup_auth_check()
, gar_setup_auth_key()
, gar_setup_clientid()
, gar_setup_edit_renviron()
, gar_setup_menu()
, gar_setup_menu_do()
Useful links