Skip to content

Commit

Permalink
Migrate to httr2 (#51)
Browse files Browse the repository at this point in the history
* Start migration to httr2

* Start migration to httr2

* End migration
  • Loading branch information
dieghernan authored Feb 6, 2024
1 parent e87f6f1 commit 4785e89
Show file tree
Hide file tree
Showing 52 changed files with 485 additions and 419 deletions.
17 changes: 10 additions & 7 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ message: 'To cite package "climaemet" in publications use:'
type: software
license: GPL-3.0-only
title: 'climaemet: Climate AEMET Tools'
version: 1.2.1
version: 1.2.1.9000
doi: 10.5281/zenodo.5205573
abstract: Tools to download the climatic data of the Spanish Meteorological Agency
(AEMET) directly from R using their API and create scientific graphs (climate charts,
Expand Down Expand Up @@ -154,17 +154,17 @@ references:
year: '2024'
version: '>= 3.3.2'
- type: software
title: httr
abstract: 'httr: Tools for Working with URLs and HTTP'
title: httr2
abstract: 'httr2: Perform HTTP Requests and Process the Responses'
notes: Imports
url: https://httr.r-lib.org/
repository: https://CRAN.R-project.org/package=httr
url: https://httr2.r-lib.org
repository: https://CRAN.R-project.org/package=httr2
authors:
- family-names: Wickham
given-names: Hadley
email: hadley@posit.co
email: hadley@rstudio.com
year: '2024'
version: '>= 1.4.1'
version: '>= 1.0.0'
- type: software
title: jsonlite
abstract: 'jsonlite: A Simple and Robust JSON Parser and Generator for R'
Expand All @@ -177,6 +177,9 @@ references:
email: [email protected]
orcid: https://orcid.org/0000-0002-4035-0289
year: '2024'
identifiers:
- type: url
value: https://arxiv.org/abs/1403.2805
version: '>= 1.7.0'
- type: software
title: rappdirs
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: climaemet
Title: Climate AEMET Tools
Version: 1.2.1
Version: 1.2.1.9000
Authors@R: c(
person("Manuel", "Pizarro", role = c("aut", "cph"),
comment = c(ORCID = "0000-0002-6981-0154")),
Expand All @@ -23,7 +23,7 @@ Depends:
Imports:
dplyr (>= 1.0.0),
ggplot2 (>= 3.3.2),
httr (>= 1.4.1),
httr2 (>= 1.0.0),
jsonlite (>= 1.7.0),
rappdirs (>= 0.3.3),
readr (>= 1.4.0),
Expand Down
4 changes: 4 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# climaemet (development version)

- Migrate from **httr** to **httr2** (#50).

# climaemet 1.2.1

- On `aemet_monthly_period(extract_metadata = TRUE)` honor the `start` and
Expand Down
Loading

0 comments on commit 4785e89

Please sign in to comment.