
Check a geoscale against the model's declared regions
Source:R/geoscale.R
check_geoscale_regions.RdWarns when the two disagree. This is deliberately a warning, not an error:
config@region remains authoritative, and a geoscale covering more ground
than the model uses (a world map for a two-country model) is normal and
useful.
Arguments
Examples
# returns the declared regions the geoscale cannot place, and warns about them
gs <- topia$geoscales$squares
check_geoscale_regions(gs, c("W1", "W2", "C1")) # all placed: character(0)
suppressWarnings(check_geoscale_regions(gs, c("W1", "NOWHERE")))