ipeaGIT / geobr

Easy access to official spatial data sets of Brazil in R and Python
https://ipeagit.github.io/geobr/
789 stars 118 forks source link

Error in loadNamespace(x) #244

Closed ViniciusSato closed 3 years ago

ViniciusSato commented 3 years ago

Hello!

I'm trying to replicate de tutorial but I get the following error:

State of Sergige

state <- read_state(code_state="SE", year=2018) Error in loadNamespace(x) : there is no package called ‘crul’

I already tried reinstalling all the packages and did not find the answer. Can you help me? image

rafapereirabr commented 3 years ago

Hi @ViniciusSato . Please restart your R session and install the latest version of geobr. If the problem persists, I'd suggest you also install the crul package. Let me know if this solves your problem.

ViniciusSato commented 3 years ago

I've solved the issue after the installation of the dependencies of dplyr

install.packages("dplyr", dependencies = TRUE)

Thanks! (;