NEWS
cvdprevent 0.2.5 (2026-01-29)
Added
- Additional defensive code in the vignette to better handle unexpected conditions and improve overall robustness.
Changed
- The validation function
get_valid_time_period_ids() was updated to ensure it retrieves all valid time periods from the API. Although this introduces a slight performance slowdown, it provides greater long-term stability against future API changes.
Fixed
- Corrected an issue in the example
cvd_area_system_level() where an incompatible TimePeriodID was being produced. The example has been updated to prevent recurrence and the underlying validation logic has been strengthened.
cvdprevent 0.2.4 (2025-11-11)
Added
Changed
cvd_clear_cache() is exported for end-users to access, for example to clear stale values from the cache.
Fixed
- Cache defaults to in-memory when the package is used non-interatively, which should resolve CRAN test issues on certain builds. When used interactively (most use-cases) will use persistent disc-based cache that is more convenient for users.
Deprecated
cvdprevent 0.2.3 (2025-11-05)
Added
- New function
cvd_external_resource() to retrieve metadata for external resources linked to CVDPREVENT, including category, source, type, and tags.
- Support for inequality marker breakdowns via
cvd_indicator_person_timeseries() with expanded documentation and return structure.
@return documentation blocks added for all major functions to improve clarity and usability.
Changed
- Improved documentation across all indicator-related functions, including clearer
@description, @details, and @seealso sections.
- Enhanced validation logic for
metric_id, area_id, and time_period_id parameters to ensure API compatibility.
- Refactored internal processing of nested API responses for better stability and readability.
Fixed
- Corrected handling of empty or malformed API responses in
cvd_indicator_group() and cvd_indicator_pathway_group().
- Resolved issue where system-level comparison functions failed to relocate nested
ComparisonData correctly.
Deprecated
cvdprevent 0.2.2 (2025-05-25)
cvdprevent 0.1.0