Friday, December 2, 2022

Installing devtools and landmap in R

It took me several trial and error to install the devtools package and the landmap package from Github repo. This is a note about the installation procedure on Fedora Linux so that we don't have to repeat the trial and error process. 



sudo dnf install  \
		freetype-devel \
		libpng-devel \
        libtiff-devel \
        libjpeg-turbo-devel \
		gdal-devel \
		gdal-libs \
		proj-devel \
		geos-devel \
		udunits2-devel

Then in R,


install.packages('devtools')
library(devtools)
install_github('envirometrix/landmap')

No comments:

Post a Comment