-
Notifications
You must be signed in to change notification settings - Fork 4
Issue 16 fix url bug #17
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
Conversation
Google translate gives error even with strings that are similar to protocols (e.g. htt://, abc://)
Tomeriko96
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please fix the errors in the automated checks
- the
helperfunctionsdirectory should not be used for this url_helpers.R --> should go to the R/ directory instead
|
Hi @aslamht Thank you for your PR. Please fix the issues and look into the code review comments for me to merge. Also provide example cases with and without url links in the text. |
Tomeriko96
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks!
Summary
This PR adds error handling for (malformed) URLs in the google_translate function.
Fixes
Fixes #16
Notes
This PR applies the fix for malformed URL placeholders to the main
google_translate()function.Other variants of
google_translatestill need this update, but I currently don't have time to apply it across all of them. I recommend tracking this as a follow-up task.