{
  "_id": "6acdffefa14063b82c3ae408",
  "Package": "switchcase",
  "Type": "Package",
  "Title": "A Simple and Flexible Switch-Case Construct for the 'R' Language",
  "Version": "0.1.2",
  "Authors@R": "person(\"Joachim\", \"Zuckarelli\", role = c(\"aut\", \"cre\"), email = \"joachim@zuckarelli.de\", comment = c(ORCID = \"0000-0002-9280-3016\"))",
  "Maintainer": "Joachim Zuckarelli <joachim@zuckarelli.de>",
  "Description": "Provides a switch-case construct for 'R', as it is known\nfrom other programming languages. It allows to test multiple,\nsimilar conditions in an efficient, easy-to-read manner, so\nnested if-else constructs can be avoided. The switch-case\nconstruct is designed as an 'R' function that allows to return\nvalues depending on which condition is met and lets the\nprogrammer flexibly decide whether or not to leave the\nswitch-case construct after a case block has been executed.",
  "License": "GPL-3",
  "BugReports": "https://github.com/jsugarelli/switchcase/issues",
  "URL": "https://github.com/jsugarelli/switchcase/,\nhttps://youtu.be/3ybF8u_PE7w",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Repository": "https://jsugarelli.r-universe.dev",
  "Date/Publication": "2025-06-20 15:50:09 UTC",
  "RemoteUrl": "https://github.com/jsugarelli/switchcase",
  "RemoteRef": "HEAD",
  "RemoteSha": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-13 09:51:08 UTC",
    "User": "root"
  },
  "Author": "Joachim Zuckarelli [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-9280-3016>)",
  "_user": "jsugarelli",
  "_type": "src",
  "_file": "switchcase_0.1.2.tar.gz",
  "_fileid": "https://r2.ropensci.org/fa9bb137b57f4150bb4a0125448ca5ccfc9bab422d03ece191265e5865807c80",
  "_filesize": 107347,
  "_sha256": "fa9bb137b57f4150bb4a0125448ca5ccfc9bab422d03ece191265e5865807c80",
  "_expires": "2027-01-21T09:54:53.000Z",
  "_created": "2026-10-13T09:51:08.000Z",
  "_published": "2026-10-13T09:54:55.552Z",
  "_buildurl": "https://github.com/r-universe/jsugarelli/actions/runs/38378994495",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 115235434316,
      "time": 126,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "11802507317"
    },
    {
      "job": 115235434404,
      "time": 134,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "11802781448"
    },
    {
      "job": 115235434070,
      "time": 83,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11802941834"
    },
    {
      "job": 115235434370,
      "time": 90,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11802627265"
    },
    {
      "job": 115234545614,
      "time": 131,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11802068700"
    },
    {
      "job": 115235434253,
      "time": 68,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11802312665"
    },
    {
      "job": 115235434154,
      "time": 59,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11803115882"
    },
    {
      "job": 115235434423,
      "time": 53,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11803085861"
    },
    {
      "job": 115235434411,
      "time": 51,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11802641730"
    }
  ],
  "_upstream": "https://github.com/jsugarelli/switchcase",
  "_commit": {
    "id": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
    "author": "Joachim Zuckarelli <38797219+jsugarelli@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add CITATION and mention citation in README\n\n",
    "time": 1750434609
  },
  "_maintainer": {
    "name": "Joachim Zuckarelli",
    "email": "joachim@zuckarelli.de",
    "login": "jsugarelli",
    "twitter": "@jsugarelli",
    "description": "Follow me on Twitter: @jsugarelli",
    "uuid": 38797219,
    "orcid": "0000-0002-9280-3016"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [],
  "_owner": "jsugarelli",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "r-lang",
    "r-language",
    "switch-case-construct"
  ],
  "_stars": 3,
  "_contributors": [
    {
      "user": "jsugarelli",
      "count": 14,
      "uuid": 38797219
    }
  ],
  "_userbio": {
    "uuid": 38797219,
    "type": "user",
    "name": "Joachim Zuckarelli",
    "followers": 20,
    "description": "Follow me on Twitter: @jsugarelli"
  },
  "_downloads": {
    "count": 187,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/switchcase"
  },
  "_devurl": "https://github.com/jsugarelli/switchcase",
  "_searchresults": 2,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/switchcase.html"
  ],
  "_homeurl": "https://github.com/jsugarelli/switchcase",
  "_realowner": "jsugarelli",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2020-05-08"
    },
    {
      "version": "0.1.1",
      "date": "2020-05-17"
    }
  ],
  "_exports": [
    "alt",
    "switchCase"
  ],
  "_help": [
    {
      "page": "alt",
      "title": "Building alternative 'case' branches for the switch-case construct",
      "concept": [
        "switchcase"
      ],
      "topics": [
        "alt"
      ]
    },
    {
      "page": "switchcase",
      "title": "Package 'switchcase'",
      "topics": [
        "switchcase"
      ]
    },
    {
      "page": "switchCase",
      "title": "The switch-case construct",
      "concept": [
        "switchcase"
      ],
      "topics": [
        "switchCase"
      ]
    }
  ],
  "_readme": "https://github.com/jsugarelli/switchcase/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 3.1760912590556813,
  "_indexed": true,
  "_nocasepkg": "switchcase",
  "_universes": [
    "jsugarelli"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-13T09:53:19.000Z",
      "distro": "resolute",
      "commit": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
      "fileid": "https://r2.ropensci.org/fb743957b0eb539546db65fbbf8cbb24d1ec57b306ffb8291c50a7b57b93e8ab",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jsugarelli/actions/runs/38378994495"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.2",
      "date": "2026-10-13T09:53:27.000Z",
      "distro": "resolute",
      "commit": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
      "fileid": "https://r2.ropensci.org/1fe593a9b8261d0816772f4f026cde86d09a7f6927baab824892abfb1bcd986c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/jsugarelli/actions/runs/38378994495"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-13T09:53:14.000Z",
      "commit": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
      "fileid": "https://r2.ropensci.org/334b5e00c93710cbc106d74d60996ce7d911b519990169baebfdfa3aaecb1b8e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsugarelli/actions/runs/38378994495"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.2",
      "date": "2026-10-13T09:54:26.000Z",
      "commit": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
      "fileid": "https://r2.ropensci.org/e7db9366f0360880012f203c19ab63f4fa7690607eee5384d894ee745cbc7d84",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsugarelli/actions/runs/38378994495"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.2",
      "date": "2026-10-13T09:52:30.000Z",
      "commit": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
      "fileid": "https://r2.ropensci.org/f303b81e9aab08d736edf4dabdcce4b261895d3cd59837e7962acd0df06c1758",
      "status": "success",
      "buildurl": "https://github.com/r-universe/jsugarelli/actions/runs/38378994495"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-13T09:52:10.000Z",
      "commit": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
      "fileid": "https://r2.ropensci.org/a95aee6ed717582fc8a7be2be690ea5b990a840d99bc2c42d82879069ce27627",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsugarelli/actions/runs/38378994495"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-13T09:52:05.000Z",
      "commit": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
      "fileid": "https://r2.ropensci.org/308dd4e39857de95d05f736dbf71205304314df0ef7f022e8bbf6c96a710cd88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsugarelli/actions/runs/38378994495"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.2",
      "date": "2026-10-13T09:52:03.000Z",
      "commit": "a0683cb31ec67884c87257dfb470f2032b4cd9bf",
      "fileid": "https://r2.ropensci.org/7f326275cd75e16a9e696a5d20c84c86d7836573605239200a35a6855a7bc714",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/jsugarelli/actions/runs/38378994495"
    }
  ]
}