Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!: change default value for riem_measures(latlon) #51

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

maelle
Copy link
Member

@maelle maelle commented Jan 20, 2025

Fix #50

@maelle
Copy link
Member Author

maelle commented Jan 20, 2025

still need to fix the tests

@maelle
Copy link
Member Author

maelle commented Jan 20, 2025

@JElchison feedback welcome 😸

@maelle maelle marked this pull request as ready for review January 20, 2025 15:14
* New arguments `data`, `latlon`, `report_type`, `elev` (#49, @JElchison).
* New arguments `data`, `latlon`, `report_type`, `elev` (#48, @JElchison).

* Breaking change: `laton` default to `FALSE`: you need to explicitly set it to
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo: s/laton/latlon/

@@ -10,8 +10,10 @@
#' Default value is `all`.
#' @param elev If TRUE, the elevation (m) of the station will be included in the output, in an `elevation` column. # nolint: line_length_linter
#' Default value is `FALSE`.
#' @param latlon If TRUE, the latitude and longitude of the station will be included in the output, in `lat` and `lon` columns. # nolint: line_length_linter
#' Default value is `TRUE`.
#' @param latlon Default to `FALSE` since riem 1.0.0. If `TRUE`,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw a tag in the repo history for v2.0.0. Is it safe to assume that tag was actually supposed to be v0.2.0, and this next release will be v1.0.0?

```

# Documentation

Please refer to the [`pkgdown` website](https://docs.ropensci.org/riem/) to read docs, in particular the [reference](https://docs.ropensci.org/riem/reference/index.html) and the [vignettes](https://docs.ropensci.org/riem/articles/index.html).

# Breaking change in riem 1.0.0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe we should list the other breaking change here as well:

* Breaking change: `date_start` and `station` no longer have default values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reconsider default value for riem_measures(latlon = TRUE)
2 participants