inflateR 0.2.0

Bundled data now runs to 2025

Refreshed from the World Bank Development Indicators. Every series gains 2025 except US CPI, which the World Bank has not yet published beyond 2024. The US GDP deflator does reach 2025.

Results will change. Two separate reasons:

Brazil now starts at 1990, not 1980

Rebasing to 2020 = 100 pushes Brazil’s hyperinflation years so far below the base that four decimal places cannot represent them, and they were being stored as exactly zero. A zero index divides, so adjust_inflation(100, 1985, 2020, currency = "BRL") returned Inf rather than refusing the request. Those years are now dropped, so the ordinary coverage check rejects them with a message naming the real range. 40 stored values were affected across brl_cpi and brl_gdp_def.

Fixes to data-raw/cpi_data.R

Test fixes surfaced by the refresh

New functionality

inflateR 0.1.3

inflateR 0.1.2

inflateR 0.1.0