{
  "_id": "6b13f6f6ee7507cf073a355c",
  "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-12-05 11:32:56 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/69a96b8e6c79df355f3ea3f0316ba6c530f91d9f292b5916a4f9c27d6dee28a1",
  "_filesize": 134462,
  "_sha256": "69a96b8e6c79df355f3ea3f0316ba6c530f91d9f292b5916a4f9c27d6dee28a1",
  "_expires": "2027-03-15T11:35:16.000Z",
  "_created": "2026-12-05T11:32:56.000Z",
  "_published": "2026-12-05T11:35:18.347Z",
  "_upstream": "https://github.com/trevorld/r-getopt",
  "_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": 145658615712,
      "time": 107,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15930284563"
    },
    {
      "job": 145658615615,
      "time": 95,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15930955103"
    },
    {
      "job": 145658615591,
      "time": 65,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15930517562"
    },
    {
      "job": 145658615688,
      "time": 86,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15930860250"
    },
    {
      "job": 145657738646,
      "time": 192,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15929924613"
    },
    {
      "job": 145658615649,
      "time": 84,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15930174727"
    },
    {
      "job": 145658615633,
      "time": 59,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "15929989722"
    },
    {
      "job": 145658615677,
      "time": 61,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "15930312907"
    },
    {
      "job": 145658615684,
      "time": 51,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15930915049"
    }
  ],
  "_buildurl": "https://github.com/r-universe/trevorld/actions/runs/47514733158",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.3",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "trevorld",
  "_selfowned": true,
  "_usedby": 0,
  "_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": 78,
    "description": "Studies electricity markets"
  },
  "_downloads": {
    "count": 4223,
    "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": 1844,
  "_rbuild": "4.6.2",
  "_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"
    }
  ],
  "_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": "Roman Zenka",
      "role": [
        "ctb"
      ]
    }
  ],
  "_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": 6.95956785988868,
  "_indexed": true,
  "_nocasepkg": "getopt",
  "_universes": [
    "trevorld"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-12-05T11:34:48.000Z",
      "distro": "resolute",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/835ff4ef81b87858627e5241a20d15b92250fa1ba01e52d031e62ada585718d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/47514733158"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.21.1",
      "date": "2026-12-05T11:34:37.000Z",
      "distro": "resolute",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/5c3a571cf03481a371917e7f635d9e16f06436294346210164ed439c0dc12ac3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/47514733158"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-12-05T11:34:08.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/2dcd454934bd551f26d6bb445997696e2e531ff059e7f5e60bd7d89a11ef253c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/47514733158"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.21.1",
      "date": "2026-12-05T11:34:29.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/0ead06587ab54f0d4a5097bd731fe204ecf4434303cdd6e5d71fe433933af7b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/47514733158"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.21.1",
      "date": "2026-12-05T11:34:35.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/fa3542074599559e702237c2ba40040e798ccaff43dc41b6a5106f7b4a965859",
      "status": "success",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/47514733158"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-12-05T11:33:54.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/9219e50f644ce9bca4352eb1f3518dd8048a4e7e3f5517b9a3a1efeda56fad68",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/47514733158"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-12-05T11:33:57.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/0c54ca0e64885098ffe807387317ae3af8242a6a66b88b32d4f44e7ef43a593f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/47514733158"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.21.1",
      "date": "2026-12-05T11:33:49.000Z",
      "commit": "e5ec356541114a7541d8d4db7ae8523a61b5b1fe",
      "fileid": "https://r2.ropensci.org/2de1aa9fe6a92e4d4e4469814f9a94a013a7ebac81ddbb2557a6cb602c566bfc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/trevorld/actions/runs/47514733158"
    }
  ]
}