Skip to contents

testhta 0.1.0

  • First release of the testhta validation framework for cost-effectiveness models in R.

New Features

  • Added getters to retrieve cohort simulation metrics:
    • get_costs(): Retrieve total discounted costs.
    • get_icer(): Calculate Incremental Cost-Effectiveness Ratio.
    • get_le(): Retrieve total Life Expectancy.
    • get_qalys(): Retrieve total discounted Quality-Adjusted Life Years.
  • Added use_hta_unittests() to automatically generate testthat directory structures and pre-configured unit test scripts aligned with the HTA Verification Registry (T01 - T16).
  • Added piping-compatible setters to dynamically override model parameters:

Testing & Validation Helpers

  • Added validation test helper assertions for use with the testthat package:

Documentation & Infrastructure

  • Created a professional pkgdown documentation website using the Bootstrap 5 flatly Bootswatch theme.
  • Added comprehensive documentation website search index.
  • Added a stylized hexagon logo (man/figures/logo.png).
  • Added introductory and guide vignettes:
    • introduction: Setup, execute, and inspect Markov cost-effectiveness models.
    • validation-guide: How to design and run unit tests to verify model logic under boundaries.
    • automating-hta-unit-tests: Scaffolding and automating HTA model unit tests.
  • Overhauled package metadata (DESCRIPTION, URLs, BugReports, and License).