trying URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_populated_places.zip'
Error in utils::download.file(file.path(address), zip_file <- tempfile()) :
cannot open URL 'http://www.naturalearthdata.com/http//www.naturalearthdata.com/download/110m/cultural/ne_110m_populated_places.zip'
In addition: Warning message:
In utils::download.file(file.path(address), zip_file <- tempfile()) :
cannot open URL 'https://www.naturalearthdata.com/http/www.naturalearthdata.com/download/110m/cultural/ne_110m_populated_places.zip': HTTP status was '404 Not Found'
It appears as if the domain (
naturalearthdata.com
is appended twice to the URL call, resulting in a 404 error.Reproduce the error with the following code:
pop_places <- ne_download(type = 'populated_places')
Response: