I'm trying to install tmap package on R and it requires lwgeom
But when it comes to install 'lwgeom' I get this error:
configure: error: proj_api.h not found in standard or given locations. ERROR: configuration failed for package ‘lwgeom’
I've tryed to install libproj-dev but I've already got it.
I've also installed rgdal package sucessfully but I still got this error
I run on R-studio on Linux Mint 19
how to fix it and install tmap?