Skip to content

Commit

Permalink
news and version update
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheaphy committed Jun 23, 2024
1 parent b837ffc commit 385ded1
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: actxps
Title: Create Actuarial Experience Studies: Prepare Data, Summarize Results, and Create Reports
Version: 1.4.0.9000
Version: 1.5.0
Authors@R:
person("Matt", "Heaphy", email = "[email protected]", role = c("aut", "cre"))
Maintainer: Matt Heaphy <[email protected]>
Expand Down
25 changes: 21 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,24 @@
# actxps 1.4.0.9000

- To improve the speed of date calculations, lubridate was replaced with the clock package. Lubridate is no longer included in Imports.
- **Breaking change** - The `pol_interval()` function is no longer exported. As part of the removal of lubridate, this function's `dur_length` argument only accepts, "year", "quarter", "month", or "week".
# actxps 1.5.0

- `expose_split()` bug fixes:

- `expose_split()` was updated to respect the values of `start_date`
and `end_date` originally passed to the `expose()` function.
- Future policy anniversary dates falling on February 29th leap days are now
consistent with `expose()`
- New tests were added to verify that the sum of policy year exposures
(`exposure_pol`) after calling `expose_split()` match exposures produced by
`expose_py()`.

- The `expose()` family of functions and `add_transactions()` now allow date
columns to be passed as character vectors in YYYY-MM-DD format. Any character
vectors are converted to dates behind-the-scenes, and any missing values will
results in an error message.
- To improve the speed of date calculations, lubridate was replaced with the
clock package. Lubridate is no longer included in Imports.
- **Breaking change** - The `pol_interval()` function is no longer exported.
As part of the removal of lubridate, this function's `dur_length` argument
only accepts, "year", "quarter", "month", or "week".
- Shiny app layout updates
- Small vignette and documentation clean-ups

Expand Down
2 changes: 1 addition & 1 deletion R/globals.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ utils::globalVariables(c("issue_date", "term_date", "last_date",
"sd_all", "sd_trx", "trx_amt_sq",
"n", "name", "ymax", "ymin",
"cal_yr", "anniv", "cal_yr_end", "h", "piece", "v",
"scope", "next_anniv"))
"scope", "next_anniv", "b"))

0 comments on commit 385ded1

Please sign in to comment.