I tried installing the tmap package but received the following Error:
There is a binary version available but the source version is later:
binary source needs_compilation
tmap 2.3-1 2.3-2 FALSE
installing the source package ‘tmap’
trying URL 'https://cran.rstudio.com/src/contrib/tmap_2.3-2.tar.gz'
Content type 'application/x-gzip' length 2928091 bytes (2.8 MB)
downloaded 2.8 MB
* installing *source* package 'tmap' ...
** package 'tmap' successfully unpacked and MD5 sums checked
** using staged installation
** R
** data
** inst
** byte-compile and prepare package for lazy loading
ERROR: lazy loading failed for package 'tmap'
* removing 'C:/Users/Julian/Anaconda3/envs/rstudio/lib/R/library/tmap'
Warning in install.packages :
installation of package ‘tmap’ had non-zero exit status
I tried updating all the packages in my library, and have just installed rgdal, rgeos and PROJ.
Thank you in advance for your help!