{
  "_id": "6a27afc324555f66ed5353f3",
  "Encoding": "UTF-8",
  "Package": "getopt",
  "Type": "Package",
  "Title": "C-Like 'getopt' Behavior",
  "Version": "1.21.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=\"Original package author\"),\nperson(\"Roman\", \"Zenka\", role=\"ctb\"))",
  "URL": "https://github.com/trevorld/r-getopt,\nhttps://trevorldavis.com/R/getopt/",
  "BugReports": "https://github.com/trevorld/r-getopt/issues",
  "Description": "Package designed to be used with Rscript to write '#!'\nshebang scripts that accept short and long flags/options. Many\nusers will prefer using instead the packages optparse or\nargparse which add extra features like automatically generated\nhelp option and usage, support for default values, positional\nargument support, etc.",
  "License": "GPL (>= 2)",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "Repository": "https://trevorld.r-universe.dev",
  "Date/Publication": "2026-05-09 06:29:06 UTC",
  "RemoteUrl": "https://github.com/trevorld/r-getopt",
  "RemoteRef": "HEAD",
  "RemoteSha": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-08 08:09:06 UTC",
    "User": "root"
  },
  "Author": "Trevor L. Davis [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-6341-4639>),\nAllen Day [aut] (Original package author),\nRoman Zenka [ctb]",
  "Maintainer": "Trevor L. Davis <trevor.l.davis@gmail.com>",
  "MD5sum": "b6259c48c0c891cb85c4f7be72e0dd56",
  "_user": "trevorld",
  "_type": "src",
  "_file": "getopt_1.21.1.tar.gz",
  "_fileid": "0dfeb182a6089ac70642618891fc600fce534bae7d0ac383c5f5e40e1f77ce57",
  "_filesize": 134904,
  "_sha256": "0dfeb182a6089ac70642618891fc600fce534bae7d0ac383c5f5e40e1f77ce57",
  "_created": "2026-06-08T08:09:06.000Z",
  "_published": "2026-06-09T06:16:35.138Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80256812425,
      "time": 137,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474720828"
    },
    {
      "job": 80256812468,
      "time": 97,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474708095"
    },
    {
      "job": 80256811993,
      "time": 78,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7499755575"
    },
    {
      "job": 80256812001,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7499896184"
    },
    {
      "job": 80256811986,
      "time": 252,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474676880"
    },
    {
      "job": 80256812327,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474707550"
    },
    {
      "job": 80256812474,
      "time": 84,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7474704027"
    },
    {
      "job": 80256812430,
      "time": 78,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7474702249"
    },
    {
      "job": 80256812520,
      "time": 78,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7474702288"
    }
  ],
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/27124234036",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/trevorld/r-getopt",
  "_commit": {
    "id": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
    "author": "Trevor L. Davis <trevor.l.davis@gmail.com>",
    "committer": "Trevor L. Davis <trevor.l.davis@gmail.com>",
    "message": "chore: Add sponsor button [skip ci]\n",
    "time": 1778308146
  },
  "_maintainer": {
    "name": "Trevor L. Davis",
    "email": "trevor.l.davis@gmail.com",
    "login": "trevorld",
    "uuid": 2433259,
    "orcid": "0000-0001-6341-4639"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "trevorld",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-12",
      "n": 23
    },
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.21.1",
      "date": "2026-04-27"
    }
  ],
  "_stars": 12,
  "_contributors": [
    {
      "user": "trevorld",
      "count": 72,
      "uuid": 2433259
    }
  ],
  "_userbio": {
    "uuid": 2433259,
    "type": "user",
    "name": "Trevor L. Davis",
    "description": "Studies electricity markets"
  },
  "_downloads": {
    "count": 6717,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/getopt"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/trevorld/r-getopt",
  "_searchresults": 1800,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/getopt.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/trevorld/r-getopt",
  "_realowner": "trevorld",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.1",
      "date": "2008-04-14"
    },
    {
      "version": "1.11",
      "date": "2008-04-16"
    },
    {
      "version": "1.12",
      "date": "2008-04-23"
    },
    {
      "version": "1.14",
      "date": "2008-04-30"
    },
    {
      "version": "1.15",
      "date": "2010-04-28"
    },
    {
      "version": "1.16",
      "date": "2011-05-02"
    },
    {
      "version": "1.17",
      "date": "2011-09-26"
    },
    {
      "version": "1.19.0",
      "date": "2012-11-18"
    },
    {
      "version": "1.19.1",
      "date": "2013-03-04"
    },
    {
      "version": "1.20.0",
      "date": "2013-08-30"
    },
    {
      "version": "1.20.1",
      "date": "2017-11-30"
    },
    {
      "version": "1.20.2",
      "date": "2018-02-16"
    },
    {
      "version": "1.20.3",
      "date": "2019-03-22"
    },
    {
      "version": "1.20.4",
      "date": "2023-10-01"
    },
    {
      "version": "1.21.1",
      "date": "2026-04-27"
    }
  ],
  "_exports": [
    "get_Rscript_filename",
    "getfile",
    "getoperand",
    "getopt",
    "getusage",
    "sort_list"
  ],
  "_help": [
    {
      "page": "getfile",
      "title": "Returns file name being interpreted by Rscript",
      "topics": [
        "getfile",
        "get_Rscript_filename"
      ]
    },
    {
      "page": "getoperand",
      "title": "Extract positional arguments from a getopt result",
      "topics": [
        "getoperand"
      ]
    },
    {
      "page": "getopt",
      "title": "C-like getopt behavior",
      "topics": [
        "getopt-package",
        "getopt"
      ]
    },
    {
      "page": "getusage",
      "title": "Generate a usage string",
      "topics": [
        "getusage"
      ]
    },
    {
      "page": "sort_list",
      "title": "Recursively sorts a list",
      "topics": [
        "sort_list"
      ]
    }
  ],
  "_pkglogo": "man/figures/logo.png",
  "_rundeps": [],
  "_score": 7.894022859272593,
  "_indexed": true,
  "_nocasepkg": "getopt",
  "_universes": [
    "trevorld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-06-08T08:12:39.000Z",
      "distro": "noble",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "861c0106f1d08740aa0c342276d40d3a5a44f0c4e8f0e4482b5652d4b5b2bda9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27124234036"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-06-08T08:12:00.000Z",
      "distro": "noble",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "cf61fa988f0d05aff66fb66e61ee54251b7b66491b2c833c833c14f51aaaa2bc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27124234036"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-06-09T06:07:04.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "93eca53f05be569d6bb492c9afc5edd38cefa2661c22695bc1a2ad7944cf6c36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27124234036"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-06-09T06:16:08.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "f2e2e6a9812118e9909923826022c21965fe4502f48626c92b92d251f4e60713",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27124234036"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.21.1",
      "date": "2026-06-08T08:12:06.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "c9195b53055d810a2458fba297dcb3f8c603961a2725f429248ab0385466a5bf",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27124234036"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-06-08T08:11:42.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "d5e732f3af275370fda349bbfbb26a5d3a42eca78128f666106f954e9b465696",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27124234036"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-06-08T08:11:36.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "56b9f642ed946b8956a2ce8a885a44896844b17df942e610c0e65b569d33947a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27124234036"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-06-08T08:11:35.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "afb343e8ea49da211ce10e86fb5e8de474c2eb6d67ca03859ebde47d27263d8a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/27124234036"
    }
  ]
}