JGCRI / rmap

Mapping software with pre-loaded global and local maps
https://jgcri.github.io/rmap/
Other
7 stars 0 forks source link

Bug in plotting gridded data #81

Closed KennethAnn closed 2 years ago

KennethAnn commented 2 years ago

Hi, when I use rmap::map(data) in user guide to plot the gridded data, the R Studio will show:

Error: Problem with `mutate()` column `subRegion`.
i `subRegion = as.character(subRegion)`.
i `subRegion` must be size 67420 or 1, not 0.

So, how to avoid the bug which seems like the hint of polygon plotting? Thanks for your kind response!

zarrarkhan commented 2 years ago

Thanks for pointing this out. It should be fixed now.