If POLISHED_API_KEY unset & not provided in API wrapper functions, this PR keeps the returned value of get_api_key as a character (NA_character) for correct wrapper function errors. Otherwise, an httr::authenticate error is returned instead of Account not found for provided API key
If
POLISHED_API_KEY
unset & not provided in API wrapper functions, this PR keeps the returned value ofget_api_key
as a character (NA_character
) for correct wrapper function errors. Otherwise, anhttr::authenticate
error is returned instead ofAccount not found for provided API key