{
  "_id": "6a105631acfb0bcc41ca29db",
  "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-05-09 07:54:33 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": "daa6094365ee146941db473bef2b5dcb",
  "_user": "trevorld",
  "_type": "src",
  "_file": "getopt_1.21.1.tar.gz",
  "_fileid": "3b403172b8796f0ba93275e206cba9252ab067c21e18503c72827d5a6fa2e86a",
  "_filesize": 136329,
  "_sha256": "3b403172b8796f0ba93275e206cba9252ab067c21e18503c72827d5a6fa2e86a",
  "_created": "2026-05-09T07:54:33.000Z",
  "_published": "2026-05-22T13:12:17.900Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77386328064,
      "time": 110,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894138956"
    },
    {
      "job": 77386327998,
      "time": 98,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894138006"
    },
    {
      "job": 77386328223,
      "time": 83,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894139548"
    },
    {
      "job": 77386328014,
      "time": 83,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894138738"
    },
    {
      "job": 77386327854,
      "time": 182,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894128509"
    },
    {
      "job": 77386327147,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7161310472"
    },
    {
      "job": 77386328069,
      "time": 56,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6894134042"
    },
    {
      "job": 77386328470,
      "time": 55,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6894133908"
    },
    {
      "job": 77386328278,
      "time": 70,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6894135329"
    }
  ],
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/25595802097",
  "_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": 16897,
    "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": 2272,
  "_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": "https://github.com/trevorld/r-getopt/raw/HEAD/man/figures/logo.png",
  "_rundeps": [],
  "_score": 8.39579293698479,
  "_indexed": true,
  "_nocasepkg": "getopt",
  "_universes": [
    "trevorld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-05-09T07:56:27.000Z",
      "distro": "noble",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "d6d7ba64cdf4907fed5ac2cbe8bd8f76be72b92836237277efe220bfa9183bc7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25595802097"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-05-09T07:56:18.000Z",
      "distro": "noble",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "9d0f6d6cad07ef27b8c630de29376801b3b05b3204be8bad9514d00d88bf7057",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25595802097"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-05-09T07:56:36.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "9d4fe2982c47dbf07cc718bc6ccd6ae0989cc9c5a12f9e89bcd75f7f9a5b8063",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25595802097"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-05-09T07:56:27.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "ba2ade51ea3b54decd7596788e57c049800678bd70fb9a5dec2b64b9b0c367b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25595802097"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-05-09T07:55:32.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "486981aac4d95d4d31390ba65bbcee8b324858eeddd56a7853f7afb82cc77d47",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25595802097"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-05-09T07:55:30.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "a7a7e24ba4505609707c873907e94050b205950a5f8f8b6ed018e22d24711849",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25595802097"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-05-09T07:55:45.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "02bf507db2202bd1b2dbbff632cea7076ec50a7e3c8a90e9d9bc80ea392b63ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25595802097"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.21.1",
      "date": "2026-05-22T13:10:55.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "a6dba418a3b181275de22506a4010391e089634ac3be92d45eadf7ad30d8d33d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/25595802097"
    }
  ]
}