{
  "_id": "6b0f49867510c4b9d7da3117",
  "Encoding": "UTF-8",
  "Package": "optparse",
  "Type": "Package",
  "Title": "Command Line Option Parser",
  "Version": "1.9.1",
  "Authors@R": "c(person(\"Trevor L.\", \"Davis\", role=c(\"aut\", \"cre\"),\nemail=\"trevor.l.davis@gmail.com\",\ncomment = c(ORCID = \"0000-0001-6341-4639\")),\nperson(\"Allen\", \"Day\", role=\"aut\", comment=\"Code and documentation ported from the getopt package.\"),\nperson(\"Python Software Foundation\", role=\"ctb\", comment=\"Some documentation from the optparse Python module.\"),\nperson(\"Steve\", \"Lianoglou\", role=\"ctb\"),\nperson(\"Jim\", \"Nikelski\", role=\"ctb\"),\nperson(\"Kirill\", \"Müller\", role=\"ctb\"),\nperson(\"Peter\", \"Humburg\", role=\"ctb\"),\nperson(\"Rich\", \"FitzJohn\", role=\"ctb\"),\nperson(\"Gyu Jin\", \"Choi\", role=\"ctb\"))",
  "Description": "A command line parser inspired by Python's 'optparse'\nlibrary to be used with Rscript to write \"#!\" shebang scripts\nthat accept short and long flag/options.",
  "License": "GPL (>= 2)",
  "Copyright": "See file (inst/)COPYRIGHTS.",
  "URL": "https://github.com/trevorld/r-optparse,\nhttps://trevorldavis.com/R/optparse/",
  "BugReports": "https://github.com/trevorld/r-optparse/issues",
  "LazyLoad": "yes",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr, rmarkdown",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.0.0",
  "Repository": "https://trevorld.r-universe.dev",
  "Date/Publication": "2026-12-01 20:09:42 UTC",
  "RemoteUrl": "https://github.com/trevorld/r-optparse",
  "RemoteRef": "HEAD",
  "RemoteSha": "089cbc38867080af791eb3571e63ea6bf94899ef",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-12-01 21:33:13 UTC",
    "User": "root"
  },
  "Author": "Trevor L. Davis [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6341-4639>),\nAllen Day [aut] (Code and documentation ported from the getopt\npackage.),\nPython Software Foundation [ctb] (Some documentation from the optparse\nPython module.),\nSteve Lianoglou [ctb],\nJim Nikelski [ctb],\nKirill Müller [ctb],\nPeter Humburg [ctb],\nRich FitzJohn [ctb],\nGyu Jin Choi [ctb]",
  "Maintainer": "Trevor L. Davis <trevor.l.davis@gmail.com>",
  "_user": "trevorld",
  "_type": "src",
  "_file": "optparse_1.9.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/6eaebc458bbca0154330e3a9765258a76b3faf6af9ec89353992adfd8e5bc8f4",
  "_filesize": 191091,
  "_sha256": "6eaebc458bbca0154330e3a9765258a76b3faf6af9ec89353992adfd8e5bc8f4",
  "_expires": "2027-03-11T22:26:11.000Z",
  "_created": "2026-12-01T21:33:13.000Z",
  "_published": "2026-12-01T22:26:13.971Z",
  "_upstream": "https://github.com/trevorld/r-optparse",
  "_status": "success",
  "_maintainer": {
    "name": "Trevor L. Davis",
    "email": "trevor.l.davis@gmail.com",
    "login": "trevorld",
    "description": "Studies electricity markets",
    "uuid": 2433259,
    "orcid": "0000-0001-6341-4639"
  },
  "_jobs": [
    {
      "job": 143010831370,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15542472400"
    },
    {
      "job": 143010831244,
      "time": 105,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15542985821"
    },
    {
      "job": 143010831099,
      "time": 116,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15540829722"
    },
    {
      "job": 143010831141,
      "time": 124,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15547376488"
    },
    {
      "job": 143008494028,
      "time": 205,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15542646835"
    },
    {
      "job": 143010831390,
      "time": 92,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15542641086"
    },
    {
      "job": 143010831316,
      "time": 90,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15541153794"
    },
    {
      "job": 143010831228,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15542712058"
    },
    {
      "job": 143010831333,
      "time": 66,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15542302619"
    }
  ],
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/46749472794",
  "_commit": {
    "id": "089cbc38867080af791eb3571e63ea6bf94899ef",
    "author": "Trevor L Davis <trevor.l.davis@gmail.com>",
    "committer": "Trevor L. Davis <trevor.l.davis@gmail.com>",
    "message": "test: Restore partial argument matching test\n\nCo-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>\n",
    "time": 1796155782
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.0",
      "role": "Depends"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "version": ">= 1.15.19",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "trevorld",
  "_selfowned": true,
  "_usedby": 28,
  "_updates": [
    {
      "week": "2026-12",
      "n": 15
    },
    {
      "week": "2026-13",
      "n": 6
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-16",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-49",
      "n": 17
    }
  ],
  "_tags": [
    {
      "name": "v1.8.2",
      "date": "2026-04-17"
    },
    {
      "name": "v1.9.1",
      "date": "2026-12-01"
    }
  ],
  "_stars": 160,
  "_contributors": [
    {
      "user": "trevorld",
      "count": 163,
      "uuid": 2433259
    },
    {
      "user": "goldragoon",
      "count": 4,
      "uuid": 2537598
    }
  ],
  "_userbio": {
    "uuid": 2433259,
    "type": "user",
    "name": "Trevor L. Davis",
    "followers": 78,
    "description": "Studies electricity markets"
  },
  "_downloads": {
    "count": 21516,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/optparse"
  },
  "_mentions": 15,
  "_devurl": "https://github.com/trevorld/r-optparse",
  "_pkgdown": "https://trevorldavis.com/R/optparse/",
  "_searchresults": 24768,
  "_abi": {
    "exports": [
      {
        "key": "optparse::OptionParser",
        "hash": "a826ef4e90636797"
      },
      {
        "key": "optparse::OptionParserOption",
        "hash": "cb5f518329b61fc3"
      },
      {
        "key": "optparse::generic:options<-",
        "hash": "a25301ab970f7b21"
      }
    ],
    "imports": []
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/optparse.html"
  ],
  "_homeurl": "https://github.com/trevorld/r-optparse",
  "_realowner": "trevorld",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.8",
      "date": "2009-11-03"
    },
    {
      "version": "0.9.0",
      "date": "2010-08-06"
    },
    {
      "version": "0.9.1",
      "date": "2010-10-04"
    },
    {
      "version": "0.9.4",
      "date": "2011-10-01"
    },
    {
      "version": "0.9.5",
      "date": "2012-02-16"
    },
    {
      "version": "1.0.0",
      "date": "2012-11-21"
    },
    {
      "version": "1.0.1",
      "date": "2013-01-30"
    },
    {
      "version": "1.0.2",
      "date": "2013-08-26"
    },
    {
      "version": "1.2.0",
      "date": "2014-04-04"
    },
    {
      "version": "1.3.0",
      "date": "2014-12-11"
    },
    {
      "version": "1.3.2",
      "date": "2015-10-03"
    },
    {
      "version": "1.4.4",
      "date": "2017-07-18"
    },
    {
      "version": "1.6.0",
      "date": "2018-06-17"
    },
    {
      "version": "1.6.1",
      "date": "2019-01-15"
    },
    {
      "version": "1.6.2",
      "date": "2019-04-02"
    },
    {
      "version": "1.6.4",
      "date": "2019-09-16"
    },
    {
      "version": "1.6.6",
      "date": "2020-04-16"
    },
    {
      "version": "1.7.1",
      "date": "2021-10-08"
    },
    {
      "version": "1.7.3",
      "date": "2022-07-20"
    },
    {
      "version": "1.7.4",
      "date": "2024-01-16"
    },
    {
      "version": "1.7.5",
      "date": "2024-04-16"
    },
    {
      "version": "1.8.2",
      "date": "2026-04-17"
    }
  ],
  "_authors": [
    {
      "name": "Trevor L. Davis",
      "email": "trevor.l.davis@gmail.com",
      "orcid": "0000-0001-6341-4639",
      "role": [
        "aut",
        "cre"
      ]
    },
    {
      "name": "Allen Day",
      "role": [
        "aut"
      ]
    },
    {
      "name": "Python Software Foundation",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Steve Lianoglou",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Jim Nikelski",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Kirill Müller",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Peter Humburg",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Rich FitzJohn",
      "role": [
        "ctb"
      ]
    },
    {
      "name": "Gyu Jin Choi",
      "role": [
        "ctb"
      ]
    }
  ],
  "_exports": [
    "add_option",
    "IndentedHelpFormatter",
    "make_option",
    "OptionParser",
    "OptionParserOption",
    "parse_args",
    "parse_args2",
    "print_help",
    "rscript_filename",
    "shell_quote",
    "TitledHelpFormatter"
  ],
  "_help": [
    {
      "page": "optparse-package",
      "title": "Command line option parser",
      "topics": [
        "optparse-package",
        "optparse"
      ]
    },
    {
      "page": "formatter",
      "title": "Builtin help text formatters",
      "topics": [
        "IndentedHelpFormatter",
        "TitledHelpFormatter"
      ]
    },
    {
      "page": "add_make_option",
      "title": "Functions to enable our OptionParser to recognize specific command line options.",
      "topics": [
        "add_option",
        "make_option"
      ]
    },
    {
      "page": "OptionParser",
      "title": "A function to create an instance of a parser object",
      "topics": [
        "OptionParser"
      ]
    },
    {
      "page": "OptionParser-class",
      "title": "Option Parser",
      "topics": [
        "OptionParser-class"
      ]
    },
    {
      "page": "OptionParserOption-class",
      "title": "Class to hold information about command-line options",
      "topics": [
        "OptionParserOption",
        "OptionParserOption-class"
      ]
    },
    {
      "page": "parse_args",
      "title": "Parse command line options.",
      "topics": [
        "parse_args",
        "parse_args2"
      ]
    },
    {
      "page": "print_help",
      "title": "Printing an usage message from an OptionParser object",
      "topics": [
        "print_help"
      ]
    },
    {
      "page": "rscript_filename",
      "title": "Get the R script file name",
      "topics": [
        "rscript_filename"
      ]
    },
    {
      "page": "shell_quote",
      "title": "Quote strings for the shell if needed",
      "topics": [
        "shell_quote"
      ]
    }
  ],
  "_pkglogo": "https://github.com/trevorld/r-optparse/raw/HEAD/man/figures/logo.png",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "optparse.Rmd",
      "filename": "optparse.html",
      "title": "optparse Command Line Option Parsing",
      "engine": "knitr::rmarkdown",
      "headings": [],
      "created": "2026-03-22 06:38:51",
      "modified": "2026-03-22 06:38:51",
      "commits": 1
    }
  ],
  "_score": 13.633202993714058,
  "_indexed": true,
  "_nocasepkg": "optparse",
  "_universes": [
    "trevorld"
  ],
  "_previous": "1.9.0-1",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-12-01T21:35:05.000Z",
      "distro": "resolute",
      "commit": "089cbc38867080af791eb3571e63ea6bf94899ef",
      "fileid": "https://r2.ropensci.org/7d8f1baeeb2b1cb2af45921049b1e27535cbde492b09b96c3ae2ce69a9ef115b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/46749472794"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.9.1",
      "date": "2026-12-01T21:35:04.000Z",
      "distro": "resolute",
      "commit": "089cbc38867080af791eb3571e63ea6bf94899ef",
      "fileid": "https://r2.ropensci.org/d20edeb37fb89c5e981522cca45e7fef361bfaee09ea52111bb1f04428bdbced",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/46749472794"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-12-01T21:37:52.000Z",
      "commit": "089cbc38867080af791eb3571e63ea6bf94899ef",
      "fileid": "https://r2.ropensci.org/aa4fdfca1986ad69bc702eda616e900427640b00c6ba4aad7f22eee297c64046",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/46749472794"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.9.1",
      "date": "2026-12-01T22:25:22.000Z",
      "commit": "089cbc38867080af791eb3571e63ea6bf94899ef",
      "fileid": "https://r2.ropensci.org/d6a91f6ed02bcbae12afbcfeacb6f22e27b70fcbd1d69c3e64bde0d1df7f24a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/46749472794"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.9.1",
      "date": "2026-12-01T21:35:04.000Z",
      "commit": "089cbc38867080af791eb3571e63ea6bf94899ef",
      "fileid": "https://r2.ropensci.org/6851551bed82cfb243500e57ff366fc0604cb9c24011e556371aad3f4c64bcba",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/46749472794"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-12-01T21:34:34.000Z",
      "commit": "089cbc38867080af791eb3571e63ea6bf94899ef",
      "fileid": "https://r2.ropensci.org/75aeb0362123df59e7fbf8a6e3441b8ae8b441a368ea31e3468b8c39d8ac64e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/46749472794"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-12-01T21:34:21.000Z",
      "commit": "089cbc38867080af791eb3571e63ea6bf94899ef",
      "fileid": "https://r2.ropensci.org/58adf9d28ab9a4976b3ef6dac956aec6840b686842e7c3e222c5de79a24f20c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/46749472794"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.9.1",
      "date": "2026-12-01T21:34:18.000Z",
      "commit": "089cbc38867080af791eb3571e63ea6bf94899ef",
      "fileid": "https://r2.ropensci.org/0cccc6957c2b1429486d2966f9a0fa7dca6636d9ec7b369b83333d80118b190b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/46749472794"
    }
  ]
}