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

View source: R/setup_wizard.R

gar_setup_env_checkR Documentation

Setup wizard help - check if environment argument is set

Description

Setup wizard help - check if environment argument is set

Usage

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(), gar_setup_menu_do()


googleAuthR documentation built on May 29, 2024, 7:22 a.m.