dkahle / ggmap

A package for plotting maps in R with ggplot2
766 stars 231 forks source link

Failed to evaluate glue component {filetype} #362

Open LuisLauM opened 5 months ago

LuisLauM commented 5 months ago

In the internal function get_stadiamap_tile, one of the conditionals in charge of returning a message when you have an invalid URL (i.e. an URL with no response), leads to an error because an object needed to assemble the message has not been defined: the filetype object.

https://github.com/dkahle/ggmap/blob/8b12bebcc95b6ed2fe211580a88f0b47922baf4b/R/get_stadiamap.R#L332C86-L332C94