我一直遇到这个错误 Error in readPNG(destfile) : libpng error: PLTE: CRC error,下面是相关的代码:
map <- get_map(location='Auckland', source="stamen", maptype="toner", zoom=11)
ggmap(map)
这确实有效:
map <- get_map(location='Auckland', source="stamen", maptype="toner", zoom=13)
ggmap(map)
有什么想法吗?我感觉这可能是 Stamen 地图的问题,而不是 ggmap 的问题。如果是这样,我会向他们反映。