Skip to content

decompr

6.9.0

Global Value Chain Decomposition

1packages depend
4.9Kdownloads / 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: 2.3 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.19
88.4%
Coverage · measured lines
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • 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

4.9K
CRAN downloads in the past year
Rank #6,406 · ~13/day · ~406/mo
Daily download trend is not available in this view yet.
30130 days
1.3K90 days
4.9K1 year
Compare downloads with other packages →
Also on439 r2u11 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-08-16.

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)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-06-04

claude

Most recent: claude on 2026-06-04

Evidence
  • claude: on or before 2026-06-04 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

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
43 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("decompr")
Quast, B., Krantz, S., Reiter, O., Stolzenburg, V., & Wang, F. (2026). decompr: Global Value Chain Decomposition (Version 6.9.0) [Computer software]. https://doi.org/10.32614/CRAN.package.decompr

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for decompr version 6.9.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy