Skip to content

Commit 0410aba

Browse files
authored
release tasks (#210)
1 parent b07d42d commit 0410aba

18 files changed

+716
-700
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,5 @@
44
Thumbs.db
55
Rplots.pdf
66
revdep/
7+
8+
/.quarto/

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: tidyhydat
22
Title: Extract and Tidy Canadian 'Hydrometric' Data
3-
Version: 0.6.1.9000
3+
Version: 0.7.0
44
Authors@R: c(person("Sam", "Albers", email = "[email protected]", role = c("aut", "cre"),
55
comment = c(ORCID = "0000-0002-9270-7884")),
66
person("David", "Hutchinson", email = "[email protected]", role = "ctb"),
@@ -20,7 +20,7 @@ License: Apache License (== 2.0) | file LICENSE
2020
URL: https://docs.ropensci.org/tidyhydat/, https://github.com/ropensci/tidyhydat/
2121
BugReports: https://github.com/ropensci/tidyhydat/issues/
2222
Depends:
23-
R (>= 4.0.0)
23+
R (>= 4.2.0)
2424
Imports:
2525
cli (>= 1.0.0),
2626
crayon (>= 1.3.4),

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# tidyhydat 0.6.1.9000
2-
- bump minimum R version to 4.0.0
1+
# tidyhydat 0.7.0
2+
- bump minimum R version to 4.2.0
33
- dropped httr in favour of httr2
44
- fix bug where `download_hydat()` fails if `tempdir()` is on a different device than `hydat_path` (@mpdavison, #192)
55
- fix bug where `download_hydat()` wasn't checking alternative paths for success (@Travis-Simmons)

README.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ knitr::opts_chunk$set(
1717

1818

1919
<!-- badges: start -->
20-
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/license/apache-2-0/)ß
20+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/license/apache-2-0)
2121
[![R build status](https://github.com/ropensci/tidyhydat/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/tidyhydat/actions)
2222

2323
[![CRAN\_Status\_Badge](https://www.r-pkg.org/badges/version/tidyhydat)](https://cran.r-project.org/package=tidyhydat) [![CRAN Downloads](https://cranlogs.r-pkg.org/badges/tidyhydat?color=brightgreen)](https://CRAN.R-project.org/package=tidyhydat) [![cran checks](https://badges.cranchecks.info/worst/tidyhydat.svg)](https://cran.r-project.org/web/checks/check_results_tidyhydat.html) [![r-universe](https://ropensci.r-universe.dev/badges/tidyhydat)](https://ropensci.r-universe.dev/builds)

README.md

Lines changed: 32 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<!-- badges: start -->
66

7-
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/license/apache-2-0/)ß
7+
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/license/apache-2-0)
88
[![R build
99
status](https://github.com/ropensci/tidyhydat/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/tidyhydat/actions)
1010

@@ -84,24 +84,22 @@ the same conventions discussed above. Using `realtime_dd()` we can
8484
easily select specific stations by supplying a station of interest:
8585

8686
realtime_dd(station_number = "08MF005")
87-
#> Queried on: 2024-01-09 05:08:33.18974 (UTC)
88-
#> Date range: 2023-12-10 to 2024-01-09
89-
#> # A tibble: 10,972 × 8
90-
#> STATION_NUMBER PROV_TERR_STATE_LOC Date
91-
#> <chr> <chr> <dttm>
92-
#> 1 08MF005 BC 2023-12-10 08:00:00
93-
#> 2 08MF005 BC 2023-12-10 08:05:00
94-
#> 3 08MF005 BC 2023-12-10 08:10:00
95-
#> 4 08MF005 BC 2023-12-10 08:15:00
96-
#> 5 08MF005 BC 2023-12-10 08:20:00
97-
#> 6 08MF005 BC 2023-12-10 08:25:00
98-
#> 7 08MF005 BC 2023-12-10 08:30:00
99-
#> 8 08MF005 BC 2023-12-10 08:35:00
100-
#> 9 08MF005 BC 2023-12-10 08:40:00
101-
#> 10 08MF005 BC 2023-12-10 08:45:00
102-
#> # ℹ 10,962 more rows
103-
#> # ℹ 5 more variables: Parameter <chr>, Value <dbl>,
104-
#> # Grade <chr>, Symbol <chr>, Code <chr>
87+
#> Queried on: 2024-10-04 21:22:54.830085 (UTC)
88+
#> Date range: 2024-09-04 to 2024-10-04
89+
#> # A tibble: 17,574 × 8
90+
#> STATION_NUMBER PROV_TERR_STATE_LOC Date Parameter Value Grade Symbol Code
91+
#> <chr> <chr> <dttm> <chr> <dbl> <chr> <chr> <chr>
92+
#> 1 08MF005 BC 2024-09-04 08:00:00 Flow 1830 <NA> <NA> 1
93+
#> 2 08MF005 BC 2024-09-04 08:05:00 Flow 1830 <NA> <NA> 1
94+
#> 3 08MF005 BC 2024-09-04 08:10:00 Flow 1830 <NA> <NA> 1
95+
#> 4 08MF005 BC 2024-09-04 08:15:00 Flow 1840 <NA> <NA> 1
96+
#> 5 08MF005 BC 2024-09-04 08:20:00 Flow 1840 <NA> <NA> 1
97+
#> 6 08MF005 BC 2024-09-04 08:25:00 Flow 1830 <NA> <NA> 1
98+
#> 7 08MF005 BC 2024-09-04 08:30:00 Flow 1830 <NA> <NA> 1
99+
#> 8 08MF005 BC 2024-09-04 08:35:00 Flow 1830 <NA> <NA> 1
100+
#> 9 08MF005 BC 2024-09-04 08:40:00 Flow 1830 <NA> <NA> 1
101+
#> 10 08MF005 BC 2024-09-04 08:45:00 Flow 1830 <NA> <NA> 1
102+
#> # ℹ 17,564 more rows
105103

106104
Or we can use `realtime_ws`:
107105

@@ -113,22 +111,20 @@ Or we can use `realtime_ws`:
113111
)
114112
#> All station successfully retrieved
115113
#> All parameters successfully retrieved
116-
#> # A tibble: 1,323 × 10
117-
#> STATION_NUMBER Date Name_En Value Unit
118-
#> <chr> <dttm> <chr> <dbl> <chr>
119-
#> 1 08MF005 2023-12-25 00:00:00 Water tem… 5.14 °C
120-
#> 2 08MF005 2023-12-25 01:00:00 Water tem… 5.12 °C
121-
#> 3 08MF005 2023-12-25 02:00:00 Water tem… 5.11 °C
122-
#> 4 08MF005 2023-12-25 03:00:00 Water tem… 5.1 °C
123-
#> 5 08MF005 2023-12-25 04:00:00 Water tem… 5.1 °C
124-
#> 6 08MF005 2023-12-25 05:00:00 Water tem… 5.07 °C
125-
#> 7 08MF005 2023-12-25 06:00:00 Water tem… 5.06 °C
126-
#> 8 08MF005 2023-12-25 07:00:00 Water tem… 5.04 °C
127-
#> 9 08MF005 2023-12-25 08:00:00 Water tem… 5.02 °C
128-
#> 10 08MF005 2023-12-25 09:00:00 Water tem… 5 °C
129-
#> # ℹ 1,313 more rows
130-
#> # ℹ 5 more variables: Grade <chr>, Symbol <chr>,
131-
#> # Approval <chr>, Parameter <dbl>, Code <chr>
114+
#> # A tibble: 4,632 × 10
115+
#> STATION_NUMBER Date Name_En Value Unit Grade Symbol Approval Parameter Code
116+
#> <chr> <dttm> <chr> <dbl> <chr> <chr> <chr> <chr> <dbl> <chr>
117+
#> 1 08MF005 2024-09-20 00:00:00 Water temperature 17.0 °C -1 <NA> Provisional/Provisoire 5 TW
118+
#> 2 08MF005 2024-09-20 01:00:00 Water temperature 17.0 °C -1 <NA> Provisional/Provisoire 5 TW
119+
#> 3 08MF005 2024-09-20 02:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
120+
#> 4 08MF005 2024-09-20 03:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
121+
#> 5 08MF005 2024-09-20 04:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
122+
#> 6 08MF005 2024-09-20 05:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
123+
#> 7 08MF005 2024-09-20 06:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
124+
#> 8 08MF005 2024-09-20 07:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
125+
#> 9 08MF005 2024-09-20 08:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
126+
#> 10 08MF005 2024-09-20 09:00:00 Water temperature 17.1 °C -1 <NA> Provisional/Provisoire 5 TW
127+
#> # ℹ 4,622 more rows
132128

133129
## Compare realtime\_ws and realtime\_dd
134130

@@ -193,10 +189,7 @@ Get citation information for `tidyhydat` in R by running:
193189

194190
To cite package 'tidyhydat' in publications use:
195191

196-
Albers S (2017). "tidyhydat: Extract and Tidy
197-
Canadian Hydrometric Data." _The Journal of Open
198-
Source Software_, *2*(20). doi:10.21105/joss.00511
199-
<https://doi.org/10.21105/joss.00511>,
192+
Albers S (2017). "tidyhydat: Extract and Tidy Canadian Hydrometric Data." _The Journal of Open Source Software_, *2*(20). doi:10.21105/joss.00511 <https://doi.org/10.21105/joss.00511>,
200193
<http://dx.doi.org/10.21105/joss.00511>.
201194

202195
A BibTeX entry for LaTeX users is

cran-comments.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
tidyhydat 0.7.0
2+
=========================
3+
4+
There were zero WARNINGS and zero ERRORS.
5+
6+
## NEWS
7+
- bump minimum R version to 4.2.0
8+
- dropped httr in favour of httr2
9+
- fix bug where `download_hydat()` fails if `tempdir()` is on a different device than `hydat_path` (@mpdavison, #192)
10+
- fix bug where `download_hydat()` wasn't checking alternative paths for success (@Travis-Simmons)
11+
12+
## Test environments
13+
* win-builder (via `devtools::check_win_devel()` and `devtools::check_win_release()`)
14+
* local macOS, R 4.3.1 (via R CMD check --as-cran)
15+
* ubuntu-20.04, r: 'release' (github actions)
16+
* ubuntu-20.04, r: 'devel' (github actions)
17+
* macOS, r: 'release' (github actions)
18+
* windows, r: 'release' (github actions)
19+
* Fedora Linux, R-devel, clang, gfortran - r-hub
20+
* Debian Linux, R-release, GCC (debian-gcc-release) - r-hub
21+
* Windows Server 2008 R2 SP1, R-devel, 32/64 bit - r-hub
22+
## revdepcheck results
23+
24+
We checked 3 reverse dependencies, comparing R CMD check results across CRAN and dev versions of this package.
25+
26+
* We saw 0 new problems
27+
* We failed to check 0 packages
28+
129
tidyhydat 0.6.1
230
=========================
331

0 commit comments

Comments
 (0)