{
  "_id": "6a141ac1acfb0bcc41d3d2f7",
  "Package": "mmcards",
  "Title": "Playing Cards Utility Functions",
  "Version": "0.1.1.9000",
  "Authors@R": "c(\nperson(\"Mackson\", \"Ncube\", , \"macksonncube.stats@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"mightymetrika, LLC\", role = c(\"cph\", \"fnd\"))\n)",
  "Description": "Early insights in probability theory were largely\ninfluenced by questions about gambling and games of chance, as\nnoted by Blitzstein and Hwang (2019, ISBN:978-1138369917). In\nmodern times, playing cards continue to serve as an effective\nteaching tool for probability, statistics, and even 'R'\nprogramming, as demonstrated by Grolemund (2014,\nISBN:978-1449359010). The 'mmcards' package offers a collection\nof utility functions designed to aid in the creation,\nmanipulation, and utilization of playing card decks in multiple\nformats. These include a standard 52-card deck, as well as\nalternative decks such as decks defined by custom anonymous\nfunctions and custom interleaved decks. Optimized for the\ndevelopment of educational 'shiny' applications, the package is\nparticularly useful for teaching statistics and probability\nthrough card-based games. Functions include shuffle_deck(),\nwhich creates either a shuffled standard deck or a shuffled\ncustom alternative deck; deal_card(), which takes a deck and\nreturns a list object containing both the dealt card and the\nupdated deck; and i_deck(), which adds image paths to card\nobjects, further enriching the package's utility in the\ndevelopment of interactive 'shiny' application card games.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.2.3",
  "URL": "https://github.com/mightymetrika/mmcards",
  "BugReports": "https://github.com/mightymetrika/mmcards/issues",
  "Config/testthat/edition": "3",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Repository": "https://mightymetrika.r-universe.dev",
  "Date/Publication": "2023-09-06 18:24:30 UTC",
  "RemoteUrl": "https://github.com/mightymetrika/mmcards",
  "RemoteRef": "HEAD",
  "RemoteSha": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-25 09:45:09 UTC",
    "User": "root"
  },
  "Author": "Mackson Ncube [aut, cre],\nmightymetrika, LLC [cph, fnd]",
  "Maintainer": "Mackson Ncube <macksonncube.stats@gmail.com>",
  "MD5sum": "82bc264bc3b04e820af2269128ff897f",
  "_user": "mightymetrika",
  "_type": "src",
  "_file": "mmcards_0.1.1.9000.tar.gz",
  "_fileid": "d6bc858304a540367084b2ec9ebc1aae726dfafeec33be50afc40b564a408361",
  "_filesize": 121349,
  "_sha256": "d6bc858304a540367084b2ec9ebc1aae726dfafeec33be50afc40b564a408361",
  "_created": "2026-05-25T09:45:09.000Z",
  "_published": "2026-05-25T09:47:45.722Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77690796062,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7195785958"
    },
    {
      "job": 77690796037,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7195787394"
    },
    {
      "job": 77690796041,
      "time": 66,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7195773187"
    },
    {
      "job": 77690796054,
      "time": 84,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7195777497"
    },
    {
      "job": 77690394148,
      "time": 181,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7195754314"
    },
    {
      "job": 77690796023,
      "time": 99,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7195781490"
    },
    {
      "job": 77690796163,
      "time": 84,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7195778037"
    },
    {
      "job": 77690796048,
      "time": 58,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7195771065"
    },
    {
      "job": 77690796059,
      "time": 67,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7195773592"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mightymetrika/actions/runs/26394048073",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mightymetrika/mmcards",
  "_commit": {
    "id": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
    "author": "Mighty Metrika <mightymetrika@proton.me>",
    "committer": "Mighty Metrika <mightymetrika@proton.me>",
    "message": "rm\n",
    "time": 1694024670
  },
  "_maintainer": {
    "name": "Mackson Ncube",
    "email": "macksonncube.stats@gmail.com",
    "login": "mightymetrika",
    "twitter": "@mightymetrika",
    "description": "",
    "uuid": 134214097
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mightymetrika",
  "_selfowned": true,
  "_usedby": 5,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "game"
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "mightymetrika",
      "count": 15,
      "uuid": 134214097
    },
    {
      "user": "mncube",
      "count": 6,
      "uuid": 46875726
    }
  ],
  "_userbio": {
    "uuid": 134214097,
    "type": "user",
    "name": "mightymetrika"
  },
  "_downloads": {
    "count": 174,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mmcards"
  },
  "_devurl": "https://github.com/mightymetrika/mmcards",
  "_searchresults": 4,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mmcards.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mightymetrika/mmcards",
  "_realowner": "mightymetrika",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2023-09-06"
    }
  ],
  "_exports": [
    "deal_card",
    "i_deck",
    "shuffle_deck",
    "standard_deck"
  ],
  "_datasets": [
    {
      "name": "vector_playing_cards",
      "title": "Vector Playing Cards Image Names",
      "object": "vector_playing_cards",
      "class": [
        "character"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "deal_card",
      "title": "Deal a Card from the Deck",
      "topics": [
        "deal_card"
      ]
    },
    {
      "page": "i_deck",
      "title": "Add image paths to a deck of cards",
      "topics": [
        "i_deck"
      ]
    },
    {
      "page": "shuffle_deck",
      "title": "Shuffle a Deck of Cards",
      "topics": [
        "shuffle_deck"
      ]
    },
    {
      "page": "standard_deck",
      "title": "Generate a Standard Deck of Playing Cards",
      "topics": [
        "standard_deck"
      ]
    },
    {
      "page": "vector_playing_cards",
      "title": "Vector Playing Cards Image Names",
      "topics": [
        "vector_playing_cards"
      ]
    }
  ],
  "_readme": "https://github.com/mightymetrika/mmcards/raw/HEAD/README.md",
  "_rundeps": [],
  "_vignettes": [
    {
      "source": "alternative-decks.Rmd",
      "filename": "alternative-decks.html",
      "title": "alternative-decks",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Alternative Decks in mmcards",
        "AnonymousDeck",
        "Whose Card is Closer to the Population Mean?",
        "InterleavedDeck",
        "Whose Card is Closer to the Population Mean? with Biased Decks",
        "PairedDeck",
        "Hanging from Pull-up Bar: Left Hand vs Right Hand"
      ],
      "created": "2023-09-04 23:32:03",
      "modified": "2023-09-04 23:32:03",
      "commits": 1
    }
  ],
  "_score": 4.8750612633917,
  "_indexed": true,
  "_nocasepkg": "mmcards",
  "_universes": [
    "mightymetrika"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-05-25T09:47:10.000Z",
      "distro": "noble",
      "commit": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
      "fileid": "95691bea1b99df467724f1f3340af3bb6a1b9106f9b72af4de4e3465d698414b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mightymetrika/actions/runs/26394048073"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.1.9000",
      "date": "2026-05-25T09:47:16.000Z",
      "distro": "noble",
      "commit": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
      "fileid": "c0f3c380370ae3e501f657d162fc1ee257363a02326002a188bda3d1e6de4cfa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mightymetrika/actions/runs/26394048073"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-05-25T09:46:25.000Z",
      "commit": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
      "fileid": "0930730f5492fa62ddb9414df54f83534cdd45d4667e5dd058ccc3ca2e3d3153",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mightymetrika/actions/runs/26394048073"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.1.9000",
      "date": "2026-05-25T09:46:40.000Z",
      "commit": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
      "fileid": "45db4929f2a47ab9b2a70ec28fe88d1b38091af9419e1b0ede85b4b5ec8bd9d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mightymetrika/actions/runs/26394048073"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.1.9000",
      "date": "2026-05-25T09:47:04.000Z",
      "commit": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
      "fileid": "7025b5736f86bdb8493ff4d315d78ab812fb01958dd2a91cc39a73671d39e038",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mightymetrika/actions/runs/26394048073"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-25T09:46:35.000Z",
      "commit": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
      "fileid": "e122ae2a7bb4605967ad3cef91ef82f38c9c7e0fa6881d1d71acf29311e97cc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mightymetrika/actions/runs/26394048073"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-25T09:46:10.000Z",
      "commit": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
      "fileid": "ab5514bc0c5d590c007a2a3462bcde279f7ba7a325ce082b98c590c938106295",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mightymetrika/actions/runs/26394048073"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.1.9000",
      "date": "2026-05-25T09:46:19.000Z",
      "commit": "74e1e5482cb5f6a217e3503e81e88ce8d4cd3150",
      "fileid": "1ce96e2d2aba2c86628a6765ebb8cc6074aa097cdc762ba99a132a514ee6ff0c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mightymetrika/actions/runs/26394048073"
    }
  ]
}