{
  "_id": "6a4e1a6e379904bcba9ed127",
  "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-07-08 09:34:50 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/8fdcae21b3b05b1c60c45970193e98c65206bd4dfdf7604ae27e06cccfb0509b",
  "_filesize": 136523,
  "_sha256": "8fdcae21b3b05b1c60c45970193e98c65206bd4dfdf7604ae27e06cccfb0509b",
  "_expires": "2026-10-16T09:37:49.000Z",
  "_created": "2026-07-08T09:34:50.000Z",
  "_published": "2026-07-08T09:37:50.783Z",
  "_jobs": [
    {
      "job": 85835417928,
      "time": 141,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8164149779"
    },
    {
      "job": 85835417929,
      "time": 113,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8164138997"
    },
    {
      "job": 85835417881,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8164139565"
    },
    {
      "job": 85835417858,
      "time": 72,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8164122503"
    },
    {
      "job": 85834966870,
      "time": 138,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8164092064"
    },
    {
      "job": 85835417843,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8164132416"
    },
    {
      "job": 85835417875,
      "time": 57,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8164116666"
    },
    {
      "job": 85835418046,
      "time": 100,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8164134215"
    },
    {
      "job": 85835417877,
      "time": 63,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8164118962"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/28932537477",
  "_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": 12,
  "_contributors": [
    {
      "user": "trevorld",
      "count": 72,
      "uuid": 2433259
    }
  ],
  "_userbio": {
    "uuid": 2433259,
    "type": "user",
    "name": "Trevor L. Davis",
    "followers": 79,
    "description": "Studies electricity markets"
  },
  "_downloads": {
    "count": 5433,
    "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": 1800,
  "_rbuild": "4.6.1",
  "_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": "https://github.com/trevorld/r-getopt/raw/HEAD/man/figures/logo.png",
  "_rundeps": [],
  "_score": 7.50085722034364,
  "_indexed": true,
  "_nocasepkg": "getopt",
  "_universes": [
    "trevorld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-07-08T09:37:18.000Z",
      "distro": "resolute",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/c8f05e566f0dd7237a7741d00283cabfc3b37d8095e73461363f5de6f4e1f1e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28932537477"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-07-08T09:36:52.000Z",
      "distro": "resolute",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/6a5aaf97d7b61d45d868d6151d6bbbf0fdb774e297ffc7cbc91bd43a079aa50c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28932537477"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-07-08T09:36:51.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/ba98b5d089f4bc3355601d7a728dc43e7f7a2ee609218dd118e9694233e0da35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28932537477"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-07-08T09:36:13.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/57b671a443bb6500f642a223116808c28ddaae052a2fabd95ea4419c2a1cbc35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28932537477"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.21.1",
      "date": "2026-07-08T09:36:45.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/067a01c66541e35f17206e04d950037cc8a72b042a11ad13f08eff2367bc107c",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28932537477"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-07-08T09:35:52.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/07e2edc5becb0137ca3de19a8349690bf4ef051506ebc46a1a930bbdb44d931d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28932537477"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-07-08T09:36:29.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/80141fd8ebf8f2a3fef0d7279aca6d2aacd57a21a996fa09e46b43865e8b32d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28932537477"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-07-08T09:35:58.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/f922ff3058268e000deac3ba4102b335f6992bf081c693fc0dd63127d48c9dfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/28932537477"
    }
  ]
}