diff --git a/Posit Infrastructure/How to Install and Use Geospatial R Packages.md b/Posit Infrastructure/How to Install and Use Geospatial R Packages.md index d51aa5c..eff001e 100644 --- a/Posit Infrastructure/How to Install and Use Geospatial R Packages.md +++ b/Posit Infrastructure/How to Install and Use Geospatial R Packages.md @@ -12,7 +12,9 @@ This document aims to provide users of R in Posit Workbench guidance on how to c - [{raster}](https://rspatial.github.io/raster/reference/raster-package.html) - [{leaflet}](https://rstudio.github.io/leaflet/) -Please note: {rgdal} has now been retired from CRAN and has therefore been removed from this documentation. However, versions of {leaflet} >= 2.2.0 do not depend on this package. To avoid dependency on obsolete packages, older versions should only be installed if strictly necessary. Please try to use the most up-to-date versions wherever possible. +> Please note: +> * {rgdal} has now been retired from CRAN and has therefore been removed from this documentation. However, versions of {leaflet} >= 2.2.0 do not depend on this package. To avoid dependency on obsolete packages, older versions should only be installed if strictly necessary. Please try to use the most up-to-date versions wherever possible. +> * The `{mapview}` package is unable to be run on POSIT workbench (as of 20th June 2024). ## Setting environment variables @@ -51,7 +53,7 @@ Sys.setenv("GDAL_DATA" = "/usr/gdal34/share/gdal") Geospatial R packages must be compiled and installed from source, rather than as binary files. The reason for this is that the packages need to know where the geospatial libraries are installed in the underlying Linux operating system. A simple call of the `install.packages()` function will not suffice. As such, please follow the instructions below exactly. -### Step 1 - Remove geospatial R packages and their dependencies (if installed) +### Step 1 - Remove geospatial R packages and their dependencies ```r # List of geospatial packages that will be installed