Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ tidyhydat_intro.Rmd
^precompile.R$
^CRAN-SUBMISSION$
.claude
Claude.md
tests/README.md
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ Rplots.pdf
revdep/

/.quarto/
Claude.md
.claude
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: tidyhydat
Title: Extract and Tidy Canadian 'Hydrometric' Data
Version: 0.7.2.9000
Version: 1.0.0
Authors@R: c(
person(
"Sam", "Albers",
Expand Down
13 changes: 7 additions & 6 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# tidyhydat 0.7.2.9000
- add `hy_daily_flows()` and `hy_daily_levels()` now support `hydat_path = FALSE` to access historical web service data without downloading HYDAT
- add `available_flows()` and `available_levels()` functions that combine validated historical data with provisional real-time data
- add httptest2 for mocking webservice tests (#212)
- add classes to webservice outputs with print methods (#212)
- improve plot methods to add padding around the start and end of records for better visualization
# tidyhydat 1.0.0
- `hy_daily_flows()` and `hy_daily_levels()` now support `hydat_path = FALSE` to access historical web service data without downloading HYDAT
- new `available_flows()` and `available_levels()` functions combine validated historical data with provisional real-time data
- web service outputs now have custom classes with print methods (#212)
- plot methods add padding around the start and end of records for better visualization
- httptest2 used for mocking web service tests (#212)
- update copyright and license information (#236)

# tidyhydat 0.7.2
- fixed a bug where `param_id` internal data wasnt' being accessed correctly (#224)
Expand Down
2 changes: 1 addition & 1 deletion R/hy.R
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ hy_dir <- function(...) {
#'
#' @param hydat_path The path to the hydat database or NULL to use the default location
#' used by [download_hydat]. It is also possible to pass in an existing
#' [src_sqlite][dplyr::src_sqlite] such that the database only needs to be opened once per
#' database connection from [hy_src()] such that the database only needs to be opened once per
#' user-level call.
#'
#' @return A tibble of agencies
Expand Down
26 changes: 26 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
tidyhydat 1.0.0
=========================

There were zero WARNINGS and zero ERRORS.

## NEWS
- `hy_daily_flows()` and `hy_daily_levels()` now support `hydat_path = FALSE` to access historical web service data without downloading HYDAT
- new `available_flows()` and `available_levels()` functions combine validated historical data with provisional real-time data
- web service outputs now have custom classes with print methods (#212)
- plot methods add padding around the start and end of records for better visualization
- httptest2 used for mocking web service tests (#212)
- update copyright and license information (#236)


## Test environments
* win-builder (via `devtools::check_win_devel()` and `devtools::check_win_release()`)
* local macOS, R 4.5.2 (via R CMD check --as-cran)
* ubuntu-20.04, r: 'release' (github actions)
* ubuntu-20.04, r: 'devel' (github actions)
* macOS, r: 'release' (github actions)
* windows, r: 'release' (github actions)
* ubuntu-devel, r: 'release' (rhub)
* linux, r: 'devel' (rhub)
* macos-arm64, r: 'devel' (rhub)
* windows, r: 'devel' (rhub)

tidyhydat 0.7.2
=========================

Expand Down
952 changes: 475 additions & 477 deletions data-raw/HYDAT_internal_data/allstations.csv

Large diffs are not rendered by default.

Binary file modified data/allstations.rda
Binary file not shown.
Binary file modified data/hy_data_symbols.rda
Binary file not shown.
Binary file modified data/hy_data_types.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion man/available_flows.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/available_levels.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_agency_list.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_annual_instant_peaks.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_annual_stats.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_daily.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_daily_flows.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_daily_levels.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_datum_list.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_monthly_flows.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_monthly_levels.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_reg_office_list.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_sed_daily_loads.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_sed_daily_suscon.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_sed_monthly_loads.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_sed_monthly_suscon.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_sed_samples.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_sed_samples_psd.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_src.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_stations.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_stn_data_coll.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_stn_data_range.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_stn_datum_conv.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_stn_datum_unrelated.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_stn_op_schedule.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_stn_regulation.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_stn_remarks.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/hy_version.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/search_stn_name.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion release_process.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ rhub_check(gh_url = 'https://github.com/ropensci/tidyhydat')
## Run this in the terminal
```bash
R CMD build tidyhydat
R CMD check tidyhydat_0.7.2.tar.gz --as-cran ## or whatever the package name is
R CMD check tidyhydat_1.0.0.tar.gz --as-cran ## or whatever the package name is
```

## revedep check
Expand Down
3 changes: 0 additions & 3 deletions revdep/.gitignore

This file was deleted.

Loading