{
  "_id": "6ac4cff8f511ae58c09a1b55",
  "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-10-06 10:36:01 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>",
  "_user": "trevorld",
  "_type": "src",
  "_file": "getopt_1.21.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/46b85de351026946c12e2beb5293db6731ed65f5f72a9c241786365f8da5d4a9",
  "_filesize": 134452,
  "_sha256": "46b85de351026946c12e2beb5293db6731ed65f5f72a9c241786365f8da5d4a9",
  "_expires": "2027-01-14T10:39:50.000Z",
  "_created": "2026-10-06T10:36:01.000Z",
  "_published": "2026-10-06T10:39:52.555Z",
  "_jobs": [
    {
      "job": 112226877681,
      "time": 132,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11405153550"
    },
    {
      "job": 112226877727,
      "time": 133,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11406267784"
    },
    {
      "job": 112226877684,
      "time": 67,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11406762619"
    },
    {
      "job": 112226877733,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11406717667"
    },
    {
      "job": 112226060001,
      "time": 131,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11405083219"
    },
    {
      "job": 112226877573,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11406502524"
    },
    {
      "job": 112226877753,
      "time": 59,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11406986918"
    },
    {
      "job": 112226877700,
      "time": 58,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11405658169"
    },
    {
      "job": 112226877724,
      "time": 57,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11405783127"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/37450590316",
  "_status": "success",
  "_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",
    "description": "Studies electricity markets",
    "uuid": 2433259,
    "orcid": "0000-0001-6341-4639"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "trevorld",
  "_selfowned": true,
  "_usedby": 1,
  "_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": 13,
  "_contributors": [
    {
      "user": "trevorld",
      "count": 72,
      "uuid": 2433259
    }
  ],
  "_userbio": {
    "uuid": 2433259,
    "type": "user",
    "name": "Trevor L. Davis",
    "followers": 80,
    "description": "Studies electricity markets"
  },
  "_downloads": {
    "count": 3616,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/getopt"
  },
  "_mentions": 3,
  "_devurl": "https://github.com/trevorld/r-getopt",
  "_pkgdown": "https://trevorldavis.com/R/getopt/",
  "_searchresults": 1756,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/getopt.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt"
  ],
  "_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": "https://github.com/trevorld/r-getopt/raw/HEAD/man/figures/logo.png",
  "_rundeps": [],
  "_score": 7.348060049839235,
  "_indexed": true,
  "_nocasepkg": "getopt",
  "_universes": [
    "trevorld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-10-06T10:38:19.000Z",
      "distro": "resolute",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/a309b4768d1fae5080227fb7c61b51b1dcf726a82885f84a7d519583ed34bc85",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/37450590316"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-10-06T10:38:20.000Z",
      "distro": "resolute",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/aa58f37c3cba9a2bb22cad3bc740e7ad27e281333012eebe6275832fe8509dba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/37450590316"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-10-06T10:38:39.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/4c9ea8212d84da7d93b81bcf29eacda6440e42310194d9c0032d4db264ab545a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/37450590316"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-10-06T10:39:06.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/0d77ab8f1c6873c95f43c7b6f68a7cdfd514cd331a7a78cf9671699c396329ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/37450590316"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.21.1",
      "date": "2026-10-06T10:37:55.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/728159e0f4d2e34c08cda96282dea77311f9614ea5228f6ba49a7d636f66d3ff",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/37450590316"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-10-06T10:37:01.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/b5f2ec078ef7eb82d38cc6ec7b361fb5f2a989a0c6a78c3f7a8b679cac64359b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/37450590316"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-10-06T10:37:00.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/089716a516b40a76bfd37a6cd46a1b2af2bc35c29e7a4f222d79d2770532a656",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/37450590316"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-10-06T10:37:00.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/a530796e55a51e68755fb6617ae6ffc160f2086a6c23e8625cc988db8423a34d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/37450590316"
    }
  ]
}