pruatlas package provides helpers for generating maps of interest for PRU pubblications.
There are both high and low level facilities. For an example of a high level helper, the code for plotting a map of the French country FIR is just a one-liner:
library(pruatlas) plot_country_fir("LF", "France")
Lower level functions or datasets include for example
ctrys50m, the Simple Feature for the whole wolrd countries or
extent_fir() to calculate the bounding box of a country FIR.
Pruatlas is still in early development and it is only available on GitHub. It relies and uses the functionality from the
sf package and this relies on a working installation of GDAL, see the
sf installation instructions for directions. Also note that support for Simple Feature is still in development in
ggplot2: you need to install from GitHub untill officially released (sometimes in May 2017.)
In order to install
pruatlas you need to run: