Repository navigation
Bug Fixes
-
AICc is now
Inf(as undefined) when the number of observations is less than or equal to the number of parameters. Previously it was onlyInfwhen equal to the number of parameters plus 1 (#175). -
Fixed distribution function lookup to the ssdtools namespace only so that attached packages exporting
m*helpers (notably actuar) no longer breakssd_fit_dists()(bcgov#479). -
Fixed starting values for weighted fits, which previously used the logical
weightflag in place of the weight vector. -
Removed a duplicate
ssd_elgumbel()definition. -
Fixed the function names in two
ssd_hp()deprecation messages. -
ssd_hc()andssd_hp()now return one row per input value when values are duplicated (#141). -
ssd_label_comma_hc()now marks the hazard concentration whenbig.markordecimal.markchange the formatting of the label (bcgov#482).
Additions
- Added
ssd_element_text_hc(), a theme element that draws multi-line axis labels in bold, which replacesggtext::element_markdown()for the hazard concentration label (bcgov#482).
Modifications
-
ssd_label_comma_hc()now puts the hazard concentration label on its own line instead of marking it up as markdown (bcgov#482). -
Replaced the deprecated
..density..withafter_stat(density)inStatSsdpoint.
Dependencies
-
Moved dplyr and VGAM from Suggests to Imports and dropped the unused plyr, abind, magrittr, reshape2 and tidyselect dependencies.
Fitting the Gompertz distribution no longer prompts to install VGAM. -
Removed the dependency on the ggtext package, which is scheduled for archival on CRAN (bcgov#482).
Error Checking
ssd_plot()now checks thathcis numeric and thatdecimal.markis a string andssd_plot_data()now checks thatsuffixis a string.
Documentation
-
Removed the small sample bias vignette (moved to ssdvignettes).
-
Updated the
range_shape1andrange_shape2parameter descriptions. -
Updated the README with the consultation process.