Skip to content

optparse

1.8.2

Command Line Option Parser

15packages depend
464.9Kdownloads / year
98.3%test coverage
13/13checks pass

Overview

About
Maintained by Trevor L. DavisFirst published 2009-11-0322 releasesCRAN page ↗GitHub ↗

A command line parser inspired by Python's 'optparse' library to be used with Rscript to write "#!" shebang scripts that accept short and long flag/options.

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-macos-x86_64
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation signals are not tracked yet for this package.

Downloads

464.9K
CRAN downloads in the past year
Rank #730 · ~1.3K/day · ~38.7K/mo
optparse
Daily download trend is not available in this view yet.
21.8K30 days
76.9K90 days
464.9K1 year
Compare downloads with other packages →
Also on5K r2u20 autocran212.9K conda_forge768 bioconda317 c2d4u

Repository

Repository
157Stars
10Forks
1Open issues
0Open PRs
10Releases
178Commits
7Contributors
License GPL-2.0 · 178 commits · Last activity 2026-05-09 · +1.3% stars, 30d

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/trevorld/r-optparse on 2026-07-19.

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 (2)
lintrEditorConfig
Governance and community (1)
Funding
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6.0
Imports (1)
methods
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (9)
Maintainer (1)
Author, Maintainer · added in 1.7.5
Authors (2)
Author, Maintainer · added in 1.7.5
Author · added in 1.6.0
Contributors (7)
Contributor · added in 1.6.0
Contributor · added in 1.6.0
Contributor · added in 1.6.0
Contributor · added in 1.3.2
Contributor · added in 1.6.0
Contributor · added in 1.3.0
Contributor · added in 1.2.0
Listed in earlier versions (13)
Package Timeline

22 releases. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.8.2Latest
    2026-04-17 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.7.5
    2024-04-16 · diff ↗
  • 1.7.4
    2024-01-16 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.7.3
    2022-07-20 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.7.1
    2021-10-08 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.6.6
    2020-04-16 · diff ↗
  • 1.6.4
    2019-09-16 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.6.2
    2019-04-03 · diff ↗
Show 26 earlier events
  • 1.6.1
    2019-01-15 · diff ↗
  • 1.6.0
    2018-06-17 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.4.4
    2017-07-19 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.3.2
    2015-10-03 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.3.0
    2014-12-11 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.2.0
    2014-04-04 · diff ↗
  • 1.0.2
    2013-08-26 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.0.1
    2013-01-30 · diff ↗
  • 1.0.0
    2012-11-21 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 0.9.5
    2012-02-16 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 0.9.4
    2011-10-01 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • R
    R 2.12.0 released · 2010-10-15
  • 0.9.1
    2010-10-04 · diff ↗
  • 0.9.0
    2010-08-06 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 0.8
    2009-11-03
  • R
    R 2.10.0 released · 2009-10-26

Package metadata

First published
2009-11-03
Total releases
22 / 17 yrs
License
GPL (>= 2) OSI
Download size
41 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →