2DegreesInvesting / tiltPlot

Plots for the TILT project
https://2degreesinvesting.github.io/tiltPlot/
GNU General Public License v3.0
0 stars 0 forks source link

Make mapping features optional #70

Closed maurolepore closed 9 months ago

maurolepore commented 9 months ago

We want to include features that require hard-to-install dependencies, but we know some users won't have those dependencies -- so the features should be conditional on the existence of the dependencies.

One approach would be to have an extension of tiltPlot, e.g. tiltMaps. Another approach would be to work around it inside the package with something like if(require("sf")) # do something. I'm pretty sure packages in r-lib and tidyverse do that in a few places, so we could research how they do it.

maurolepore commented 9 months ago

I think #69 and #71 make this issue unnecessary.