Olá, Estou tentando usar a biblioteca OSMAR no R para plotar rotas e não estou conseguindo.
library(osmar)
library(leaflet)
library(igraph)
src <- osmsource_api()
get_osm(node(18961430), source = src)
Está aparecendo o seguinte erro:
Space required after the Public Identifier
SystemLiteral " or ' expected
SYSTEM or PUBLIC, the URI is missing
Opening and ending tag mismatch: hr line 7 and body
Opening and ending tag mismatch: body line 4 and html
Premature end of data in tag html line 2
Error: 1: Space required after the Public Identifier
2: SystemLiteral " or ' expected
3: SYSTEM or PUBLIC, the URI is missing
4: Opening and ending tag mismatch: hr line 7 and body
5: Opening and ending tag mismatch: body line 4 and html
6: Premature end of data in tag html line 2
Alguém teria uma dica sobre o que esta acontecendo? Pois meu código esta minusculo e o erro foi logo no inicio.
desde já, obrigado