We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right below https://github.com/TIBHannover/BacDiveR/blob/master/R/retrieve_search_results.R#L14, the queryURL should be validated ("defensive programming") somehow. Maybe using stringi::stri_startswith("https://bacdive.dsmz.de/advsearch?site=advsearch") and/or stringi::stri_endswith("&advsearch=search")?
queryURL
stringi::stri_startswith("https://bacdive.dsmz.de/advsearch?site=advsearch")
stringi::stri_endswith("&advsearch=search")
In either case, a test should be added whether an error is triggered by using a non-advsearch URL.
advsearch
BNLS
The text was updated successfully, but these errors were encountered:
Related to #71.
Sorry, something went wrong.
Validate inputs (fix #71 & #78)
05bacc2
No branches or pull requests
Right below https://github.com/TIBHannover/BacDiveR/blob/master/R/retrieve_search_results.R#L14, the
queryURL
should be validated ("defensive programming") somehow. Maybe usingstringi::stri_startswith("https://bacdive.dsmz.de/advsearch?site=advsearch")
and/orstringi::stri_endswith("&advsearch=search")
?In either case, a test should be added whether an error is triggered by using a non-
advsearch
URL.BNLS
The text was updated successfully, but these errors were encountered: