bcgov / bcmaps

An R package of map layers for British Columbia
http://bcgov.github.io/bcmaps/
Apache License 2.0
73 stars 17 forks source link

conditional path selection for cache based on R version #84

Closed boshek closed 3 years ago

boshek commented 3 years ago

Work to fix #83

ateucher commented 3 years ago

Looks good to me! I guess we can't do anything about the unnecessary dependency on rappdirs on R >= 4

boshek commented 3 years ago

I guess we could move it to suggests and then install conditionally based on the requireNamespace approach. But it is such a lightweight package that it hardly seems worth it.