When I use mapbox, the following gives an Error in curl::curl_fetch_memory(url, handle = handle) : URL using bad/illegal format or missing URL
tidygeocoder::geo(address = "Department \n Marburg", method = "mapbox")
I think this is because the address is inserted into the URL for mapbox, and api_url_modification() does rather little escaping. Maybe that could be made more robust?