Skip to content

argparse

2.3.1

Command Line Optional and Positional Argument Parser

1packages depend
98.2Kdownloads / year
93.7%test coverage
13/13checks pass

Overview

About
Maintained by Trevor L. DavisFirst published 2013-01-2924 releasesCRAN page ↗GitHub ↗

A command line parser to be used with 'Rscript' to write "#!" shebang scripts that gracefully accept positional and optional arguments and automatically generate usage.

Install

Health

CRAN checks
13OK
Slowest check: 2.2 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.87
93.7%
Coverage · measured lines
100%
Documentation · exports
3
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 · 562 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
100%

Downloads

98.2K
CRAN downloads in the past year
Rank #1,495 · ~269/day · ~8.2K/mo
Daily download trend is not available in this view yet.
5.5K30 days
18.2K90 days
98.2K1 year
Compare downloads with other packages →
Also on3.4K r2u27 autocran51K conda_forge635 bioconda

Repository

Repository
107Stars
10Forks
3Open issues
0Open PRs
16Releases
156Commits
4Contributors
License GPL-2.0 · 156 commits · Last activity 2026-05-09 · -0.9% stars, 30d

Stars over time

2025-06-26 · 1052026-08-16 · 107

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/trevorld/r-argparse on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Automation and maintenance (1)
pre-commit
Show all practices
Lint, format, editor (3)
lintrAirEditorConfig
Governance and community (1)
Funding
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-03-22

claude

Most recent: claude on 2026-03-22

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

Dependencies

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

Code & Tests

People & History

People (4)
Maintainer (1)
Author, Maintainer · added in 2.2.4
Authors (1)
Author, Maintainer · added in 2.2.4
Contributors (3)
Contributor · added in 2.0.0
Contributor · added in 2.0.0
Contributor · added in 2.0.0
Listed in earlier versions (2)
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 2.3.1Latest
    2025-10-08 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.2.5
    2024-12-20 · diff ↗
  • 2.2.4
    2024-11-20 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 2.2.3
    2024-04-10 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.2.2
    2023-02-15 · diff ↗
  • 2.2.1
    2022-12-08 · diff ↗
  • 2.1.6
    2022-07-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.1.5
    2022-04-20 · diff ↗
  • 2.1.3
    2021-11-26 · diff ↗
  • 2.1.2
    2021-10-21 · diff ↗
  • 2.1.1
    2021-09-08 · diff ↗
Show 23 earlier events
  • 2.0.4
    2021-08-07 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0.3
    2020-10-19 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 2.0.1
    2019-03-08 · diff ↗
  • 2.0.0
    2018-12-01 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1.1
    2018-01-24 · diff ↗
  • 1.1.0
    2017-11-30 · diff ↗
  • 1.0.7
    2017-08-23 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0.4
    2016-10-28 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 1.0.1
    2014-04-05 · diff ↗
  • 1.0.0
    2014-04-04 · diff ↗
  • 0.5.3
    2013-08-26 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 0.5.2
    2013-01-31 · diff ↗
  • 0.5.0
    2013-01-29
  • R
    R 2.15.0 released · 2012-03-30

Package metadata

First published
2013-01-29
Total releases
24 / 13 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6.0
Download size
35 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("argparse")
Davis, T. L., Python Software Foundation, Day, A., & Newell, P. (2025). argparse: Command Line Optional and Positional Argument Parser (Version 2.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.argparse

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 argparse version 2.3.1 [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