Install
library(devtools)
# Install decorate
# first, check for Bioconductor
if (!requireNamespace("BiocManager", quietly = TRUE)){
cat("Please install Bioconductor before continuing:\n")
cat("see http://bioconductor.org/install/\n\n")
}else{
install_github('GabrielHoffman/decorate', repos=BiocManager::repositories())
}
Dependencies
Depending on your system, you may need to install these system dependencies first:
- udunits
- proj
- gdal
- geos
Ubuntu
apt-get install libudunits2-dev libproj-dev proj-data proj-bin libgeos-dev libgeos-c1v5 libgdal-dev
CentOS
yum install udunits2-devel
yum install proj-devel
yum install gdal-devel
yum install geos-devel