Skip to content

tradepolicy

0.8.0Package record

Replication of 'An Advanced Guide To Trade Policy Analysis'

0packages depend
2.7Kdownloads / year
–test coverage
13/13flavors OK

Overview

About
Maintained by Mauricio Vargas SepulvedaCRAN page ↗GitHub ↗Issues ↗Declared funder: The United Nations

Datasets from Yotov, et al. (2016) <isbn:978-92-870-4367-2> (An Advanced Guide to Trade Policy Analysis) and functions to report regression summaries with clustered robust standard errors.

Changes in 0.8.0

Changes

  • Uses data.table instead of dplyr and tidyr for the replication.
  • Uses tinyplot instead of ggplot2 to mimimize dependencies.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-16
  • WARNING12 OK, 1 WARNING2026-07-15
  • OK13 OK2026-06-09
Show 2 earlier changesHide 2 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.8.0
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 0.8.0Citation fileNo
Help pages
2 (1 internal)includes a package overview page
Examples that run
no examples
Exported functions with examples
not tracked
Documented parameters
not tracked
Return-value docs
not tracked
Help pages citing references
0%

Downloads

2.7K
CRAN downloads in the past year
Rank #13,023 · ~7/day · ~226/mo
Daily download trend is not available in this view yet.
27730 days
88190 days
2.7K1 year
Compare downloads with other packages →
Also on86 r2u1 autocran

Repository

7Stars
5Forks
0Open issues
0Open PRs
1Releases
87Commits
3Commit identities
gravitytraderstatsrr-package
License file reads as CC-BY-4.0 · 87 commits · Last activity 2026-08-11 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
224
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2024-11-14 · 62026-07-07 · 7
PracticesBeta

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

Checks run against github.com/pachadotdev/tradepolicy on 2026-10-21.

Governance and community (1)

The repository owner accepts GitHub Sponsors

Docs source (2)
Quarto project

GitHub Pages site last deployed 2026-08-11

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing tradepolicy adds 37 packages (17 with compiled code, 28 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, capybara 2.4 MB.

Depends (1)
R >= 4.0
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (5)
Author, Maintainer · added in 0.7.0
Data contributor, Copyright holder, Funder
Thesis advisor
Thesis advisor
Thesis advisor

Maintainer since 0.5.0 (2021)

Listed in earlier versions (1)
no longer listed · 0.5.0 to 0.6.0
Releases (4)

Pick two releases to compare their code metrics.

  • 0.8.0Latest
    record
    2026-06-29 · current release · diff ↗ ·
    removed 4 exports
    %>%, tp_summary_app_1, tp_summary_app_2, tp_summary_app_3
  • 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
  • unarchivedReturned to CRAN
    2024-03-23
  • 0.7.0
    record
    2024-03-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • archivedRemoved from CRAN
    2023-03-16
    issues were not corrected in time
  • R
    R 4.2.0 released · 2022-04-22
  • 0.6.0
    record
    2022-04-07 · diff ↗ ·
    removed 6 exports
    tp_clustered_glm, tp_fixed_effects, tp_summary_app1, tp_summary_app2, tp_summary_app3, tp_summary_clustered
    added 3 exports
    tp_summary_app_1, tp_summary_app_2, tp_summary_app_3
  • 0.5.0
    record
    2021-05-27
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-05-27
Total releases
4 / 5 yrs
License
CC BY 4.0
Minimum R
≥ 4.0
Bundled data
725 KB / 1 file
Download size
724 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tradepolicy")
Vargas Sepulveda, M., Kravchenko, A., Prado, C., The United Nations, , & Yotov, Y. (2026). tradepolicy: Replication of 'An Advanced Guide To Trade Policy Analysis' (Version 0.8.0) [Computer software]. https://doi.org/10.32614/CRAN.package.tradepolicy

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 tradepolicy version 0.8.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, 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