if(getRversion() < "3.3.0") {
stop("Your version of R is too old. This package requires R-3.3.0 or newer on Windows.")
}
# Download gdal-2.0.1 from rwinlib
if(!file.exists("../windows/gdal2-2.1.1/include/gdal/gdal.h")){
download.file("https://github.com/rwinlib/gdal2/archive/v2.1.1.zip", "lib.zip", quiet = TRUE)
dir.create("../windows", showWarnings = FALSE)
unzip("lib.zip", exdir = "../windows")
unlink("lib.zip")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.