Join GitHub today
Throw error if commas missing in remotes #1511
If commas are missing between entries on separate lines under
Error in curl::curl_fetch_disk(url, x$path, handle = handle) : URL using bad/illegal format or missing URL
This does not provide much help to the user.
I think omitting these commas is a common mistake. For example: #1055
With the changes in this pull request, devtools throws an informative error in this case. The code checks for a newline in any of the remotes entries after splitting them on commas followed by optional space characters (which includes newlines).