tests/testthat/_snaps/atom-cp.md

Test offline

Code
  fend <- catr_atom_get_parcels("LABAJOS", cache_dir = cdir)
Message
  x Offline
  > Returning "NULL"

Test 404 all

Code
  fend <- catr_atom_get_parcels("MELQUE", to = "Segovia", cache_dir = cdir)
Message
  x Error 404 (Not Found): <https://www.catastro.hacienda.gob.es/INSPIRE/CadastralParcels/ES.SDGC.CP.atom.xml>.
  ! If you think this is a bug please consider opening an issue on <https://github.com/ropenspain/CatastRo/issues>
  > Returning "NULL"

ATOM parcels

Code
  catr_atom_get_parcels("xyxghx", cache_dir = cdir)
Message
  ! No municipality found with pattern "xyxghx".
  i Check available municipalities with `CatastRo::catr_atom_get_address_db_all()`.
Output
  NULL
Code
  s <- catr_atom_get_parcels("Melque", to = "Segovia", cache = FALSE, cache_dir = cdir)
Condition
  Warning:
  The `cache` argument of `catr_atom_get_parcels()` is deprecated as of CatastRo 1.0.0.
  i Results are always cached.
  Warning:
  The `cache` argument of `catr_atom_get_parcels_db_to()` is deprecated as of CatastRo 1.0.0.
  i Results are always cached.

Test 404 single

Code
  fend <- catr_atom_get_parcels("Melque", to = "Segovia", cache_dir = cdir)
Message
  x Error 404 (Not Found): <https://www.catastro.hacienda.gob.es/INSPIRE/CadastralParcels/40/40146-MELQUE%20DE%20CERCOS/A.ES.SDGC.CP.40146.zip>.
  ! If you think this is a bug please consider opening an issue on <https://github.com/ropenspain/CatastRo/issues>
  > Returning "NULL"


Try the CatastRo package in your browser

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

CatastRo documentation built on April 27, 2026, 5:07 p.m.