Skip to content

CatastRo 1.0.0

Choose a tag to compare

@dieghernan dieghernan released this 23 Feb 20:57

This major release introduces a full overhaul of the codebase and test suite.
All requests now use httr2, and cached files are reorganized into
topic-based subfolders for easier management.

Because of internal changes, existing caches are not compatible with this
release and must be rebuilt.

We have transitioned from rappdirs::user_config_dir() to tools::R_user_dir()
for managing your persistent cache directory. If you are a heavy CatastRo
user and already have a cache directory in place, you'll receive a one-time
friendly message informing you about this migration. Consider it a warm welcome
to CatastRo 1.0.0 😉.

The package now requires R ≥ 4.1.0, and dependency updates improve both
performance and maintainability. All functions return tidy objects (tibbles or
sf objects with tibble data).

Major changes

  • Minimum required R version is now 4.1.0.
  • Refactor code and test suite for improved stability.
  • Switch API requests to httr2.
  • New options (especially for macOS and Linux users):
    • On SSL errors use options(catastro_ssl_verify = 0) to disable SSL
      verification.
    • Query timeout can be controlled with options(catastro_timeout = 300)
      (Default value). Check httr2::req_timeout() for details.
  • Reorganize cache into topic-based subfolders.

Note: Previous caches must be recreated.

Compatibility and performance

  • Require R ≥ 4.1.0.
  • Update dependencies:
    • Add: cli, lifecycle, withr.
    • Remove: png, slippymath.
  • Return tidy objects consistently.
  • Vignettes engine has been migrated to Quarto.

Deprecations

  • cache argument has been deprecated in all functions.

New features

  • Added inspire_wfs_get(), a general function that downloads data of any
    INSPIRE-based API endpoint.

Other updates

  • Rewrite the full test suite.
  • Review and improve documentation.
  • Use cli for all messages.

What's Changed

Full Changelog: v0.4.1...v1.0.0