Skip to content

Commit

Permalink
CRAN version 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andybega committed Dec 11, 2020
1 parent 905265c commit 43e9b3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ Suggests:
DT
RoxygenNote: 7.1.1
VignetteBuilder: knitr
URL: https://github.com/andybega/states, https://www.andybeger.com/states
URL: https://github.com/andybega/states, https://www.andybeger.com/states/
BugReports: https://github.com/andybega/states/issues
Roxygen: list(markdown = TRUE)
6 changes: 3 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

`state_panel()` has further improved support for input shortcuts (#3):

- Accepted formats for the "start" and "end" arguments now incluce 2006, "2006", "2000-06", and "2006-06-01". See `parse_date()` for details.
- Accepted formats for the "start" and "end" arguments now include 2006, "2006", "2000-06", and "2006-06-01". See `parse_date()` for details.
- The implied time period is now also inferred from shortcut input when "by" is left at the new default of NULL.
- The "partial" option has gained new "first" and "last" values that also support shortcut input. Previously a shortcut input like 2006 could only be used with the "any" partial option, and to get country-years for states that were independent on the first day of a year one had to use `state_panel("YYYY-01-01", partial = "exact", ...)`. This can now instead be done with `state_panel(2006, partial = "first", ...)`.

Expand All @@ -21,10 +21,10 @@
- Added `compare()` helper to compare two statelist data frames prior to merging.
- Added `parse_date()` to handle more flexible "start" and "end" date input (#12).

## Bux fixes
## Bug fixes

- `all.equal()` in R 4.1.x (R-devel at this point) will check environments for equivalence as well. This breaks one test since 2e **testthat** relies on `all.equal()` for `expect_equal()`. (#26)
- fixed a mispelled country name, "Rumania" to "Romania"
- fixed a misspelled country name, "Rumania" to "Romania"

# states 0.2.2

Expand Down
2 changes: 1 addition & 1 deletion cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ On R-Hub:

**********

This fixes the current ERRORs on the CRAN Package Checks with R-devel due to the change in `all.equal()` (which in R-devel compares environments now).
Among other changes, this fixes the current ERRORs on the CRAN Package Checks with R-devel due to the change in `all.equal()` to compare environments now as well.

0 comments on commit 43e9b3a

Please sign in to comment.