The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
adjust_inflation(..., "USD", to_year = 2025) failed, and
USD calls without a to_year stopped at 2024 while every
other currency reached 2025. The World Bank has not published a 2025 US
CPI because the Bureau of Labor Statistics collected no October 2025
prices during the lapse in appropriations. BLS did publish the 2025
CPI-U annual average (from the eleven months collected), and the World
Bank’s US series is that same measure, so 2025 is chained on from it:
2025 = 2024 x 321.943 / 313.689. Years up to 2024 are unchanged.
Results change for USD CPI calls without a
to_year, which now default to 2025.
Re-fetched from the World Bank (WDI updated 8 October 2026). The only revision is to Norwegian CPI before 2003, by at most 0.05%.
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:
to_year defaults to the
latest year available, which has moved from 2024 to 2025. For example
adjust_inflation(12, 1963, "Australia") returned 212.02 and
now returns 218.09. Pass an explicit to_year if you need
the old answer.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.
Three “known value” tests hardcoded index constants (5.71, 66.53, 69.9844) and so failed the moment the World Bank revised history. They now read the index from the bundled data, which tests the arithmetic without turning every refresh into a failure that says nothing about the code.
Three vectorisation tests asserted
result[2] == result[1] * 2 on rounded output. With
per-element rounding round(2x, 2) need not equal
2 * round(x, 2), so the assertion was unsound and happened
to hold only for the old data. They now pass round = NULL;
the round argument keeps its own separate tests.
inflation_rate() for calculating cumulative or
annualised inflation rates between any two yearslist_currencies() to show all supported
currencies and their data coverageround parameter to all four adjustment functions
(round = 2 default preserves backward compatibility; use
round = NULL for full precision)amount
inputsdata-raw/cpi_data.R to cover all 13 currencies
and both CPI and GDP deflator series in a single scriptadjust_real() for GDP deflator-based adjustment
(World Bank NY.GDP.DEFL.ZS)adjust_real() accepts the same currency codes and
country names as adjust_inflation()These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.