-
Notifications
You must be signed in to change notification settings - Fork 12
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank search results and not error when password changed but not in Renviron file #110
Comments
Thanks for this report, @jfy133 :-) It's an edge-case I forgot to consider, sorry! To do that, the |
Note to self: I think this would be a good case to start learning to arrange test-download.R with a mock |
Alternatively, I could read up on the |
I noticed the following problem: changing your BacDive API password, but (forgetting...) not updating the Renviron file accordingly, results in empty search results in no error.
To reproduce: firstly change your password in the
Renviron
file to an incorrect password.The search result is just a blank line. Assignment and printing of variable displays NULL. No error is displayed.
Updating to the correct password fixed the issue.
I identified that it was an invalid credentials error after I manually copied and pasted relevant functions of the
BacDiveR
source code, and ran the followingThis error does not appear to be passed to the higher level functions.
Additional information:
I have...
The text was updated successfully, but these errors were encountered: