I tried installing tmap but this is what I get :
install.packages("tmap")
I skipped the start because I can't put more links but it just tries URLs for different dependencies
Here are the errors :
ERROR: failed to lock directory ‘/home/rebecca/R/x86_64-pc-linux-gnu-library/3.6’ for modifying
Try removing ‘/home/rebecca/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-lwgeom’
Warning in install.packages :
installation of package ‘lwgeom’ had non-zero exit status
ERROR: dependency ‘lwgeom’ is not available for package ‘stars’
- removing ‘/home/rebecca/R/x86_64-pc-linux-gnu-library/3.6/stars’
Warning in install.packages :
installation of package ‘stars’ had non-zero exit status
ERROR: dependencies ‘lwgeom’, ‘stars’ are not available for package ‘tmaptools’ - removing ‘/home/rebecca/R/x86_64-pc-linux-gnu-library/3.6/tmaptools’
Warning in install.packages :
installation of package ‘tmaptools’ had non-zero exit status
ERROR: dependencies ‘tmaptools’, ‘stars’ are not available for package ‘tmap’ - removing ‘/home/rebecca/R/x86_64-pc-linux-gnu-library/3.6/tmap’
Warning in install.packages :
installation of package ‘tmap’ had non-zero exit status
The downloaded source packages are in
‘/tmp/Rtmpxzvtun/downloaded_packages’
What should I do to make it work?