tests/testthat/_snaps/gisco-get-unit-country.md

unit_country: Validate inputs

Code
  gisco_get_unit_country(year = -1989)
Condition
  Error:
  ! `year` should be one of "2024", "2020", "2016", "2013", "2010", "2006" or "2001", not "-1989".
Code
  gisco_get_unit_country(epsg = -1989)
Condition
  Error:
  ! `epsg` should be one of "4326", "3857" or "3035", not "-1989".
Code
  gisco_get_unit_country(resolution = -1989)
Condition
  Error:
  ! `resolution` should be one of "1", "3", "10", "20" or "60", not "-1989".
Code
  gisco_get_unit_country(spatialtype = "foo")
Condition
  Error:
  ! `spatialtype` should be one of "RG" or "LB", not "foo".


Try the giscoR package in your browser

Any scripts or data that you put into this service are public.

giscoR documentation built on Dec. 10, 2025, 9:08 a.m.