Main changes but not complete list. For this propose see Github.
healthiar 0.2.3
New features
- Using compare() after standardizing results from attribute_health()
now works
- For the sub-group analysis, exposure value can be specific for each
geo_id_micro AND info column
- The argument social_indicator and geo_id_micro in socialize() can
now use tidy data
- monetize() works after compare()
- prepare_exposure() works for gridded population data
Bug Fixes
- Using socialize() and standardize() without ref_prop_pop now works
properly
- Now attribute_lifetable() allows all lengths for age group (before,
only 100 age categories were allowed)
- The data validation now identifies correctly whether the argument
n_years was entered by the user or not
Testing
- 31 additional internal tests
Other improvements
- The argument n_years has no default value anymore in monetize() and
discount()
- Error message if monetize() is used after compare() with different
year of analysis or baseline health data in the two scenarios (not
attributable to policy intervention)
- More complete warning message if absolute risk and cutoff is
provided
healthiar 0.2.2
Bug Fixes
- results_raw now stratifies by info arguments
Documentation
- New structure of vignette (by topic instead of by function)
- Amendments in readme file in terms of contents and structure
including URL to new healthiar website
- Updated and fixed citation
Testing
- Around 70 additional internal tests for attribute_health()
healthiar 0.2.1
Bug Fixes
- time_horizon did not work in attribute_lifetable()
- population was not summed correct in attribute_lifetable()
- health_detailed in attribute_health() provided a duplicated rows for
results by geo_id_micro
Other improvements
- Better sampling in summarize_uncertainty() using RNG and package
parallel
- Other changes to comply with with manual review of CRAN
healthiar 0.1.x
Other improvements
- Small changes to comply with with automatic review of CRAN
healthiar 0.1.0
- 19 September 2025 (1st submission to CRAN, automatic review)
New Features
- New function get_inflation_rate()
- New argument in cba(): inflation rate
- geo ids can now have different number of exposure categories
Bug Fixes
- Argument time_horizon was not working
Renamings
- discount_years was renamed to n_years
- inflatoin was renamed to inflation_rate
- attribute_by_sim was renamed to impact_by_sim
- positive_impact was renamed to impact_benefit
Other improvements
- attribute_by_sim_disaggregated is not anymore available as
output
- attribute_by_geo_id_micro is not anymore available as output
- Faster performance of summarize_uncertainty()
healthiar 0.0.4
New Features
- New function prepare_lifetable()
- Argument info can have different values
- Argument info also available in monetize()
- Data validation in socialize()
Renamings
- geo_id_disaggregated is now geo_id_micro
- geo_id_aggregated is now geo_id_macro
- output_attribute_1 in attribute_mod() is now output_attribute
- Arguments with suffix _1 and _2 in compare() are now _scen_1 and
_scen_2
- Arguments with exposure_ are now exp_
- Arguments with suffix _1 and _2 in multiexpose() are now _exp_1 and
_exp_2
- And many other renames in output columns and variables
Other improvements
- More consistent sum of results
- Higher speed because of shorter and/or optimized code in
attribute_…() functions
healthiar 0.0.3
New Features
- No lists (vectors) as input for multiple geo units
- Arguments age_group & sex in attribute_health() and
attribute_lifetable()
- Detailed results of simulations by geo unit in
summarize_uncertainty()
- New structure of input_args
Bug Fixes
- Fixed bug in socialize()
- Fixed bug attribute_lifetable()
Renamings
- Rename: impact_raw is now results_raw
- Rename: listed_output_attribute is now output_attribute
Other improvements
- Higher performance of attribute_()
- Data validation in monetize()
- Data validation in summarize_uncertainty()
- More validation in attribute_…()
healthiar 0.0.2
New Features
- New function standardize()
- Improved and corrected function socialize()
- Expanded usability of summarize_uncertainty()
- Enabled single exposure in absolute risk
Bug Fixes
- Fixed compare() to avoid errors when using erf_eq
- Fixed warning in socialize()
- Fixed bug in prepare_exposure()
Renamings
- Arguments results or output_healthiar become output_attribute
- Internal variable rr_conc (visible in results of attribute
functions) becomes rr_at_exp
Other improvements
- Input data validation in compare()
- Warning if cutoff is NULL and 0 as default
healthiar 0.0.1
New Features
- Version number was added
- Columns with health impacts were moved to the front in results
Bug Fixes
- Results for impact per 100k inhab. have been corrected
- Exposure lower than cut-off must result in zero health impact
Renamings
- get_pop_fraction() becomes intern function
- get_mdi() was renamed to prepare_mdi()
- get_multiexposure() was renamed to multiexpose()
- get_daly was renamed to daly()
Other improvements
- Custom warning and error messages are now available in
attribute_health()