Skip to content

docopt

0.7.2Package record

Command-Line Interface Specification Language

4packages dependsuggested by 6
145Kdownloads / year
89.8%test coverage
13/13flavors OK

Overview

About

Define a command-line interface by just giving it a description in the specific format.

Changes in 0.7.2
  • fixed cut off of help statement, thanks to @eddelbuettel

From NEWS in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.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 0.7.2
README· In the repository, left out of the releaseVignettesNoNEWSYes · 100% structured · mentions 0.7.2Citation fileNo
Help pages
6 (4 internal)includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
89%
Return-value docs
100%
Help pages citing references
17%

Downloads

145K
CRAN downloads in the past year
Rank #1,116 · ~397/day · ~12.1K/mo
Daily download trend is not available in this view yet.
9.2K30 days
32.2K90 days
145K1 year
Compare downloads with other packages →
Also on26.9K r2u4 autocran21.4K conda_forge276 bioconda1.2K c2d4u

Repository

217Stars
16Forks
19Open issues
0Open PRs
0Releases
191Commits
7Commit identities
191 commits · Last activity 2025-03-25 · +0.5% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
85%
Median days to close, 50 most recently updated closed issues
47
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-09-03 · 2142026-10-14 · 217
PracticesBeta

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

Checks run against github.com/docopt/docopt.r on 2026-10-18.

Continuous integration (4)
GitHub ActionsR CMD check workflowTravis CI (config file)AppVeyor

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

Docs source (1)

GitHub Pages site last deployed 2018-07-31

Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing docopt adds no packages beyond those that come with R.

Depends (0)
none
Imports (1)
methods
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
4direct
0indirect
Imports 4
Suggested by 6
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.1 (2014)
Releases (10)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.7.2Latest
    record
    2025-03-25 · current release · diff ↗
  • 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
  • 0.7.1
    record
    2020-06-24 · diff ↗
  • 0.7
    record
    2020-06-23 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.6.1
    record
    2018-10-11 · diff ↗
  • 0.6
    record
    2018-08-03 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 0.4.5
    record
    2016-06-13 · diff ↗
Show 7 earlier eventsHide 7 earlier events
  • R
    R 3.3.0 released · 2016-05-03
  • 0.4.3.3
    record
    2015-05-04 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.4.2
    record
    2015-01-05 · diff ↗
  • 0.3
    record
    2014-09-03 · diff ↗
  • 0.1.1
    record
    2014-06-10
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-06-10
Total releases
10 / 12 yrs
License
MIT + file LICENSE OSI
Download size
29 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("docopt")
de Jonge, E. (2025). docopt: Command-Line Interface Specification Language (Version 0.7.2) [Computer software]. https://doi.org/10.32614/CRAN.package.docopt

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

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