gar_setup_env_check function

Setup wizard help - check if environment argument is set

Setup wizard help - check if environment argument is set

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

Returns

TRUE once changes made

Details

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

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

  • Maintainer: Erik Grönroos
  • License: MIT + file LICENSE
  • Last published: 2024-05-22