Skip to contents

healthiar 0.2.1

CRAN release: 2025-11-11

  • 06 November 2025

Improvements

  • Better sampling in summarize_uncertainty() using RNG and package parallel

Bugs 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

Others

  • Other changes to comply with with manual review of CRAN

healthiar 0.1.x

  • 19 September 2025

Others

  • 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

Improvements

  • Faster performance of summarize_uncertainty()

Bugs 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

Others

  • attribute_by_sim_disaggregated is not anymore available as output
  • attribute_by_geo_id_micro is not anymore available as output

healthiar 0.0.4

  • 01 September 2025

New Features

  • New function prepare_lifetable()
  • Argument info can have different values
  • Argument info also available in monetize()
  • Data validation in socialize()

Improvements

  • More consistent sum of results
  • Higher speed because of shorter and/or optimized code in attribute_…() functions

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

healthiar 0.0.3

  • 14 July 2025

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()

Improvements

  • Higher performance of attribute_()
  • Data validation in monetize()
  • Data validation in summarize_uncertainty()
  • More validation in attribute_…()

Renamings

  • Rename: impact_raw is now results_raw
  • Rename: listed_output_attribute is now output_attribute

healthiar 0.0.2

  • 02 June 2025

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()

Improvements

  • Input data validation in compare()
  • Warning if cutoff is NULL and 0 as default

Renamings

  • Arguments results or output_healthiar become output_attribute
  • Internal variable rr_conc (visible in results of attribute functions) becomes rr_at_exp

healthiar 0.0.1

  • 05 May 2025

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

Improvements

  • Custom warning and error messages are now available in attribute_health()

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()