# Tests for spatial data functions test_that("fetch_spatial returns KML data", { skip_if_no_api() skip_on_cran() result <- fetch_spatial( "NM_1_1", time = "latest", geography = "TYPE499", measures = 20100, parse_sf = FALSE ) expect_type(result, "character") expect_match(result, "