Skip to contents

climaemet 1.6.0

CRAN release: 2026-06-03

  • Documentation, user-facing messages, and internal code were reviewed and refactored with AI assistance to improve consistency, maintainability, wording and roxygen2 tag ordering.
  • Tests now rely less on live AEMET API calls and cover additional forecast-parsing branches using local fixtures.
  • Requests now use a configurable timeout via options(climaemet_timeout = 60).
  • aemet_api_key() now uses tools::R_user_dir() for persistent API key storage. Existing users are migrated automatically to the new location, ensuring backward compatibility.
  • aemet_forecast_fires() has been updated to support the new API, which now returns six risk levels. Risk values are returned as named factors instead of numeric level codes.

climaemet 1.5.1

CRAN release: 2026-03-23

  • Migrate vignettes to Quarto.

climaemet 1.5.0

CRAN release: 2026-01-11

  • Adapt ggplot2 >= 3.5.0 deprecations.
  • Messages, warnings and errors are now more informative thanks to cli.
  • Performance improvements: climaemet now uses httr2::req_throttle() to manage API calls. The rate is strictly limited to the AEMET API policy: no more than 40 connections per minute per API key.
  • The minimum R version is now >= 4.1.0.
  • Update docs and tests.

climaemet 1.4.2

CRAN release: 2025-06-25

climaemet 1.4.1

CRAN release: 2025-03-25

climaemet 1.4.0

CRAN release: 2024-08-28

climaemet 1.3.0

CRAN release: 2024-06-23

climaemet 1.2.1

CRAN release: 2024-01-30

  • aemet_monthly_period(extract_metadata = TRUE) now honors the start and end arguments.
  • Update docs.

climaemet 1.2.0

CRAN release: 2023-08-30

  • Metadata can now be extracted from each API call using the extract_metadata = TRUE argument (#40).
  • The aemet_stations() result is cached temporarily in tempdir(), avoiding unnecessary API calls.
  • The API call system has improved to avoid API throttling.

climaemet 1.1.1

CRAN release: 2023-05-25

  • Fix an error in the conversion to sf objects.
  • Improve documentation.

climaemet 1.1.0

CRAN release: 2023-02-16

climaemet 1.0.2

CRAN release: 2022-08-14

  • Fix docs as requested by CRAN.

climaemet 1.0.1

CRAN release: 2022-02-24

  • Add new citation.
  • Adapt some examples.
  • No more messages when loading the library.
  • Remove lubridate dependency.

climaemet 1.0.0

CRAN release: 2021-09-16

Breaking changes

  • The apikey argument has been deprecated in all functions. The API key is now globally managed via an environment variable. See aemet_api_key().

Major changes

  • API functions gain new arguments, such as verbose, to check results.
  • Results are now provided in tibble format.
  • Results are parsed into the correct formats when possible, including numbers and dates.
  • Spatial support: New option return_sf returns sf objects instead of tibble objects. sf (>= 0.9) is listed in Suggests, so it is not strictly required.

Enhancements

Internal changes

  • Code optimization.
  • Dependencies have been reviewed.
  • Palettes are now generated with base::hcl.colors() (base R).

climaemet 0.2.0

CRAN release: 2020-07-17

climaemet 0.1.0

CRAN release: 2020-07-07

  • First release, July 2020.