Skip to content

decompr

6.9.0

Global Value Chain Decomposition

1packages depend
5Kdownloads / year
88.4%test coverage
13/13checks pass

Overview

About
Maintained by Bastiaan QuastFirst published 2014-08-2713 releasesCRAN page ↗GitHub ↗

Four global value chain (GVC) decompositions are implemented. The Leontief decomposition derives the value added origin of exports by country and industry as in Hummels, Ishii and Yi (2001). The Koopman, Wang and Wei (2014) decomposition splits country-level exports into 9 value added components, and the Wang, Wei and Zhu (2013) decomposition splits bilateral exports into 16 value added components. The Borin and Mancini (2019) decomposition splits country-, sector- or bilateral-level exports into up to 13 value added and GVC components. Various GVC indicators based on these decompositions are computed in the complimentary 'gvc' package. --- References: --- Hummels, D., Ishii, J., & Yi, K. M. (2001). The nature and growth of vertical specialization in world trade. Journal of international Economics, 54(1), 75-96. Koopman, R., Wang, Z., & Wei, S. J. (2014). Tracing value-added and double counting in gross exports. American Economic Review, 104(2), 459-94. Wang, Z., Wei, S. J., & Zhu, K. (2013). Quantifying international production sharing at the bilateral and sector levels (No. w19677). National Bureau of Economic Research. Borin, A., & Mancini, M. (2019). Measuring What Matters in Global Value Chains and Value-Added Trade. World Bank Policy Research Working Paper 8804.

Install

Health

CRAN checks
13OK
Slowest check: 1.9 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.19
88.4%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 226 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
70%

Downloads

5K
CRAN downloads in the past year
Rank #8,087 · ~14/day · ~414/mo
Daily download trend is not available in this view yet.
39330 days
1.3K90 days
5K1 year
Compare downloads with other packages →
Also on439 r2u10 autocran69 c2d4u

Repository

Repository
20Stars
11Forks
0Open issues
0Open PRs
17Releases
443Commits
6Contributors
443 commits · Last activity 2026-06-09 · 0% stars, 30d

Stars over time

2025-04-26 · 192026-07-07 · 20

Repository practices

Upstream repositoryBeta

3 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/bquast/decompr on 2026-07-26.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (1)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author · added in 6.2.0
Author · added in 1.3.2
Contributors (2)
Contributor · added in 6.0.0
Contributor · added in 4.5.0
Listed in earlier versions (2)
no longer listed · 1.3.2
no longer listed · 2.0 to 6.0.0
Package Timeline

13 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 6.9.0Latest
    2026-06-09 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 6.4.0
    2022-06-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 6.2.0
    2022-01-10 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 6.0.0
    2021-05-10 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 4.5.0
    2016-08-17 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
Show 10 earlier events
  • 4.1.0
    2015-06-16 · diff ↗
  • 4.0.0
    2015-06-02 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 3.0.0
    2015-04-01 · diff ↗
  • 2.1.0
    2015-02-03 · diff ↗
  • 2.0
    2015-01-27 · diff ↗
  • 1.3.2
    2014-12-10 · diff ↗
  • 1.2
    2014-08-29 · diff ↗
  • 1.1
    2014-08-27
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-08-27
Total releases
13 / 12 yrs
License
GPL-3 OSI
Minimum R
≥ 3.5.0
Bundled data
0.6 KB / 1 file
Download size
36 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →