Changelog
Source:NEWS.md
fio 1.1.0
CRAN release: 2026-06-07
💥 Breaking changes
-
miom$compute_multiregional_multipliers()output columns renamed:destination_country,destination_sector, anddestination_labelare nowshock_country,shock_sector, andshock_label(they identify the origin of the final-demand shock). -
miom$get_regional_interdependence()now uses block sums from the spillover matrix fortotal_spillover_outandtotal_spillover_in. Removedinterdependence_index; addedspillover_balanceandspillover_export_share.
fio 1.0.0
CRAN release: 2026-02-27
✨ Enhancements
- New
miom()function to create multi-regional input-output models (#155).- New
get_bilateral_trade()function to extract bilateral trade flows from multi-regional input-output models. - New
compute_multiregional_multipliers()function to compute intra-regional, inter-regional and spillover multipliers from multi-regional input-output models. - New
get_spillover_matrix()function to show how shocks in one region affect other regions in multi-regional input-output models. - New
get_net_spillover_matrix()function to show net spillover effects between regions pairs in multi-regional input-output models. - New
get_regional_interdependence()function to compute regional self-reliance and interdependence measures in multi-regional input-output models.
- New
- New
close_model()method to support closed single-region input-output models by moving household and/or government sectors from final demand to intermediate transactions matrix (#154). - New param
matrixtocompute_key_sectors()andcompute_hypothetical_extraction()so users can decide if should be used Leontief or Ghosh matrices when computing forward linkages (#148). - New
download_wiod()function to download World Input-Output Database (WIOD) tables directly from their website (#152).
💥 Breaking changes
- Built-in data (
fio::br_2020andfio::world_2000) was moved from {fio} to a data-only companion package {fiodata}.
fio 0.1.1
CRAN release: 2024-08-21
🛠️ Other improvements
- Update
extraction.rsandmultipliers.rsin order to lower minimum supported Rust version from 1.71 to 1.67. - Set minimum version of rustc >= 1.67.1 in
SystemRequirements. - Add system checks to rustc and prompt users either install, if missing, or update when version is lower than specified in
DESCRIPTION.
fio 0.1.0
CRAN release: 2024-08-01
✨ Enhancements
- New
import_element()to programmatically import data from an Excel file - New data import addin makes easy to import data from clipboard or an Excel file
- New
iomuses the efficiency of R6 classes - New
addandremovemethods to add and remove elements from aniomobject - New
br_2020dataset with a 51 sector Brazilian input-output table for 2020 - New
compute_tech_coeff()andcompute_leontief_inverse()methods uses the power of Rust andfaercrate to substantially increase performance - New
compute_multiplier_*()methods to compute multipliers from a given input-output table:-
compute_multiplier_output()for the output multiplier -
compute_multiplier_employment()for the employment multiplier -
compute_multiplier_wages()for the wages multiplier -
compute_multiplier_taxes()for the taxes multiplier
-
- New
compute_influence_field()method to compute the field of influence of each sector - New
compute_key_sectors()method to compute the key sectors of an input-output table, based on power of dispersion and sensitivity of dispersion, and their coefficients of variations - New
compute_allocation_coeff()method to compute the allocation coefficients of an input-output table - New
compute_ghosh_inverse()method to compute the Ghosh inverse of an input-output table - New
compute_hypothetical_extraction()method to compute impact on demand, supply and both structures after hypothetical extraction of a sector - New
set_max_threads()method to allow the user to control number of threads used by {fio} (required by CRAN).
🚀 Performance improvements
- Use Rust instead of base R for
compute_*()functions - Use
faercrate instead ofnalgebrafor faster linear algebra calculations - Use R6 classes for a clean, object state-changes, memory-efficient object-oriented programming
🛠️ Other improvements
- Added assertions to check if elements imported into slots are matrices at initialization of
iomobject and atadd()method - Added assertions to check matrices dimensions at initialization of
iomobject and atadd()method - More informative warnings and errors messages with {cli} package
- Added assertions to check if number format of slots is
doubleat initialization ofiomobject and atadd()method - Fix build configuration to comply with CRAN policies