Мой код:
map_1 <- get_googlemap(center = c(lon = -76.12335, lat = 43.03209), zoom = 10)
И я получил это сообщение:
Warning in download.file(url, destfile = tmp, quiet = !messaging, mode = "wb") : cannot open URL 'http://maps.googleapis.com/maps/api/staticmap?center=43.03209,-76.12335&zoom=10&size=640x640&scale=2&maptype=terrain&sensor=false': HTTP status was '403 Forbidden' Error in download.file(url, destfile = tmp, quiet = !messaging, mode = "wb") : cannot open URL 'http://maps.googleapis.com/maps/api/staticmap?center=43.03209,-76.12335&zoom=10&size=640x640&scale=2&maptype=terrain&sensor=false'
Как указали другие пользователи, Google изменил API, вам нужен ключ, вся информация находится в пакете README .Вам нужно будет зарегистрировать токен с register_google.
register_google