Skip to content

leontief

Input-Output Analysis

v0.5 · Feb 18, 2026 · Apache License (>= 2)

Description

An implementation of the Input-Output model developed by Wassily Leontief that represents the interdependencies between different sectors of a national economy or different regional economies.

Downloads

CRAN

372

Last 30 days

11719th

919

Last 90 days

5.6K

Last year

Trend: +59% (30d vs prior 30d)

r2u CRAN

25

Last 30 days

128

Last 90 days

432

Last year

Trend: -43.2% (30d vs prior 30d)

autoCRAN

1

Last 7 days

11

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Additional Issues

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
NOTE 12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Mauricio Vargas <m.vargas.sepulveda@gmail.com>’

Reading Rd files failed with message:
  cannot open the connection
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

1,544

Files

44

Compiled share

28%

Has compiled src

Yes

Language breakdown

R 259 (16.8%)C/C++/src 432 (28%)Tests 286 (18.5%)Docs 394 (25.5%)Vignettes 173 (11.2%)

API

Exported functions

16

Internal functions

16

Recent export changes

v0.2+16 augmented_input_requirement, backward_linkage, employment_multiplier +13 more

Testing & CI

Has tests

Yes

Test-to-code ratio

1.10

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

0%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

2.10

System requirements

C++ standard

License

Apache License (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2020-09-02

Latest release

2026-02-18

Avg cadence

446 days

Cold removal rate

Dep drift

1

LOC over versions

v0.2: 1,566 LOCv0.3: 1,153 LOCv0.4: 1,544 LOCv0.5: 1,544 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

fio

Dependency Network

Dependencies Reverse dependencies fio leontief

Version History

5 tracked
new 0.5 Mar 10, 2026
updated 0.5 ← 0.4 diff Feb 17, 2026
updated 0.4 ← 0.3 diff Aug 30, 2025
updated 0.3 ← 0.2 diff Jun 10, 2024
new 0.2 Sep 1, 2020