-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[FR] check_config()
should check for valid URLs
#616
Comments
This is actually a hard problem, because in theory, there is no way to tell if We'll have to use some heuristics to detect "obviously wrong" base URLs, which I think will be helpful, because this seemingly simple problem just confuses too many people (https://yihui.org/en/2018/01/valid-url/). |
Oof yes. I wonder if the check could be:
|
Maybe r-lib/urlchecker could check the base URL? |
@mcanouil As I said above, the base URL can be just a subpath without the http + domain (e.g., I tend to fix the most common and confusing issue by heuristics, i.e., when the base URL looks like a domain without the protocol (http). I tend not to validate the URL with |
Again from my debugging diaries:
the issue was that there was something to do! The
baseURL
should start withhttp
- is there a way to check if thebaseURL
is a valid URL?The text was updated successfully, but these errors were encountered: