From 385ded1814ef4fcea625a7e58a08ff26300faa45 Mon Sep 17 00:00:00 2001 From: Matt Heaphy Date: Sun, 23 Jun 2024 06:50:15 -0400 Subject: [PATCH] news and version update --- DESCRIPTION | 2 +- NEWS.md | 25 +++++++++++++++++++++---- R/globals.R | 2 +- 3 files changed, 23 insertions(+), 6 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 1ad1581..62553ec 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -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 = "mattrmattrs@gmail.com", role = c("aut", "cre")) Maintainer: Matt Heaphy diff --git a/NEWS.md b/NEWS.md index d338150..2c8661e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 diff --git a/R/globals.R b/R/globals.R index 972fe32..b1150dd 100644 --- a/R/globals.R +++ b/R/globals.R @@ -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"))