Skip to content

GetoptLong

1.1.1Package record

Parsing Command-Line Arguments

4packages dependsuggested by 2
855.7Kdownloads / year
61.4%test coverage
13/13flavors OK

Overview

About

This is a command-line argument parser which wraps the powerful Perl module Getopt::Long and with some adaptations for easier use in R.

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.1.1
READMEYes · 46 wordsVignettesYes · 3 · dynamicNEWSYes · 100% structuredCitation fileNo
Help pages
10
Examples that run
100%10 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
20%
Help pages citing references
0%

Downloads

855.7K
CRAN downloads in the past year
Rank #582 · ~2.3K/day · ~71.3K/mo
Daily download trend is not available in this view yet.
33.3K30 days
112.1K90 days
855.7K1 year
Compare downloads with other packages →
Also on12K r2u13 autocran60.7K conda_forge321 bioconda48 c2d4u

Repository

17Stars
3Forks
5Open issues
0Open PRs
0Releases
229Commits
1Commit identities
229 commits · Last activity 2026-02-06 · 0% stars, 30d · The default branch showed an older version (1.1.0) than CRAN on 2026-10-11
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
66
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2024-10-03 · 172026-07-07 · 17
PracticesBeta

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

Checks run against github.com/jokergoo/getoptlong on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-02-06

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing GetoptLong adds 3 packages (1 with compiled code, 489 KB of source tarballs). Heaviest: GlobalOptions 373 KB, rjson 77 KB, crayon 39 KB.

Depends (1)
R >= 4.0.0
Imports (4)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
1indirect
Imports 4
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.0.2 (2013)
Releases (25)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.1Latest
    record
    2026-04-08 · current release · diff ↗
  • 1.1.0
    record
    2025-11-28 · diff ↗ ·
    added 1 export
    subCommands
  • 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
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.5
    record
    2020-12-15 · diff ↗
  • 1.0.4
    record
    2020-10-19 · diff ↗
  • 1.0.3
    record
    2020-10-01 · diff ↗
  • 1.0.2
    record
    2020-07-06 · diff ↗
  • 1.0.1
    record
    2020-07-05 · diff ↗
  • 1.0.0
    record
    2020-06-10 · diff ↗ ·
    added 1 export
    source_script
  • R
    R 4.0.0 released · 2020-04-24
  • 0.1.8
    record
    2020-01-09 · diff ↗
Show 23 earlier eventsHide 23 earlier events

Package metadata

First published
2013-11-28
Total releases
25 / 13 yrs
License
MIT + file LICENSE OSI · relicensed from GPL (>= 2) in 0.1.7
Minimum R
≥ 4.0.0
Download size
1.2 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("GetoptLong")
Gu, Z. (2026). GetoptLong: Parsing Command-Line Arguments (Version 1.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.GetoptLong

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

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