RobertMyles / cepR

Um pacote R para buscar informações sobre CEPs, endereços, bairros e cidades. (An R package for accessing Brazilian postal code data) :email:
https://robertmyles.github.io/cepR/.
Other
28 stars 9 forks source link

Error: "Error: Can't pluck from a externalptr" #5

Closed jocamarada closed 4 years ago

jocamarada commented 4 years ago

While running the code below:

library(cepR)
token = "XXXXXXXXXXXXX"
Est_MA <- busca_estado(estado = "MA", token = token)

I get the following error:

Error: Can't pluck from a externalptr

RobertMyles commented 4 years ago

cepR is currently out of date with the CEPAberto API (v2 vs v3). I'll update it ASAP, or feel free to make a PR if you'd like.