Skip to contents

Handle missing UserID / Bearer Token values without throwing an error for unit testing purposes

Usage

no_creds_available(
  user_id = Sys.getenv("FFIEC_USER_ID"),
  bearer_token = Sys.getenv("FFIEC_BEARER_TOKEN")
)

Arguments

user_id

(String) The UserID for authenticating against the FFIEC API

bearer_token

(String) The Bearer Token for authenticating against the FFIEC API

Value

(Logical) FALSE if a valid user_id and bearer_token are available; otherwise TRUE.

Details

Intended for internal use.