{
  "_id": "6a1eb4cab25058d4daadd6e2",
  "Package": "shikakusphere",
  "Title": "Miscellaneous Functions for Japanese Mahjong",
  "Version": "0.1.4",
  "Authors@R": "c(\nperson(\"Akiru\", \"Kato\", , \"paithiov909@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"tomo hxx\", role = \"cph\",\ncomment = \"shanten-number\"),\nperson(\"Tadao\", \"Yamaoka\", role = \"cph\",\ncomment = \"cmajiang\"),\nperson(\"Lee\", \"Thomason\", role = \"cph\",\ncomment = \"tinyxml2\")\n)",
  "Description": "A collection of miscellaneous functions for Japanese\nmahjong that wraps C++ sources of 'shanten-number'\n<https://github.com/tomohxx/shanten-number> and 'cmajiang'\n<https://github.com/TadaoYamaoka/cmajiang>.",
  "License": "GPL (>= 3)",
  "URL": "https://paithiov909.github.io/shikakusphere/",
  "BugReports": "https://github.com/paithiov909/shikakusphere/issues",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/pak/sysreqs": "libmagick++-dev gsfonts libicu-dev libssl-dev",
  "Repository": "https://paithiov909.r-universe.dev",
  "Date/Publication": "2026-02-02 02:45:24 UTC",
  "RemoteUrl": "https://github.com/paithiov909/shikakusphere",
  "RemoteRef": "HEAD",
  "RemoteSha": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-02 10:35:28 UTC",
    "User": "root"
  },
  "Author": "Akiru Kato [aut, cre],\ntomo hxx [cph] (shanten-number),\nTadao Yamaoka [cph] (cmajiang),\nLee Thomason [cph] (tinyxml2)",
  "Maintainer": "Akiru Kato <paithiov909@gmail.com>",
  "MD5sum": "634db877d6379e823abc3cca0574ede1",
  "_user": "paithiov909",
  "_type": "src",
  "_file": "shikakusphere_0.1.4.tar.gz",
  "_fileid": "f24afc61f234ce11301605fee9820620767160c0a5aa60fe114e178041ef2ca8",
  "_filesize": 589011,
  "_sha256": "f24afc61f234ce11301605fee9820620767160c0a5aa60fe114e178041ef2ca8",
  "_created": "2026-06-02T10:35:28.000Z",
  "_published": "2026-06-02T10:47:38.393Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79052012411,
      "time": 179,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355446703"
    },
    {
      "job": 79052012409,
      "time": 191,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355449854"
    },
    {
      "job": 79052012524,
      "time": 175,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355445164"
    },
    {
      "job": 79052012400,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355442976"
    },
    {
      "job": 79052012391,
      "time": 115,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7355563670"
    },
    {
      "job": 79052012435,
      "time": 258,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7355472715"
    },
    {
      "job": 79052012424,
      "time": 177,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7355599938"
    },
    {
      "job": 79052012406,
      "time": 309,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7355491081"
    },
    {
      "job": 79051416830,
      "time": 217,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355380938"
    },
    {
      "job": 79052012369,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355436595"
    },
    {
      "job": 79052012414,
      "time": 214,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7355457620"
    },
    {
      "job": 79052012386,
      "time": 170,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7355442511"
    },
    {
      "job": 79052012402,
      "time": 205,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7355453889"
    }
  ],
  "_buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/paithiov909/shikakusphere",
  "_commit": {
    "id": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
    "author": "paithiov909 <am11.44@gmail.com>",
    "committer": "paithiov909 <am11.44@gmail.com>",
    "message": "fix: refactor list size checks\n",
    "time": 1770000324
  },
  "_maintainer": {
    "name": "Akiru Kato",
    "email": "paithiov909@gmail.com",
    "login": "paithiov909",
    "mastodon": "@lyrikuso@mstdn.jp",
    "bluesky": "@lyrikuso.bsky.social",
    "twitter": "@paithiov909",
    "description": "@lyrikuso｜加藤秋瑠はHNです",
    "uuid": 33294906
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "magick",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stringi",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "withr",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "patrick",
      "role": "Suggests"
    },
    {
      "package": "rsvg",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "paithiov909",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-06",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "mahjong",
    "rcpp",
    "cpp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "paithiov909",
      "count": 76,
      "uuid": 33294906
    }
  ],
  "_userbio": {
    "uuid": 33294906,
    "type": "user",
    "name": "Kato Akiru",
    "description": "@lyrikuso｜加藤秋瑠はHNです"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/shikakusphere"
  },
  "_devurl": "https://github.com/paithiov909/shikakusphere",
  "_pkgdown": "https://paithiov909.github.io/shikakusphere/",
  "_searchresults": 5,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "extra/shikakusphere.html",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "calc_defen",
    "calc_xiangting",
    "calculate",
    "collect_tingpai",
    "default_rule",
    "hand2img",
    "int2tile",
    "is_fulou",
    "is_lizhi",
    "is_paistr",
    "is_suit",
    "is_suzhi",
    "is_tsumogiri",
    "is_valid_tile",
    "is_yaojiu",
    "is_zhongzhang",
    "lineup",
    "lipai",
    "mjai_conv",
    "mjai_target",
    "modify_rule",
    "paistr",
    "parse_hupai",
    "proceed",
    "rand_hands",
    "rand_qipai",
    "tidy",
    "tile2rank",
    "tile2suit",
    "trans_tile"
  ],
  "_datasets": [
    {
      "name": "hupai",
      "title": "List of hupai",
      "object": "hupai",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "en",
        "jp"
      ],
      "rows": 54,
      "table": true,
      "tojson": true
    },
    {
      "name": "ranked_game",
      "title": "Sample data of mahjong game log",
      "object": "ranked_game",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "testdat_xiangting",
      "title": "Test cases for 'calc_xiangting()'",
      "object": "testdat_xiangting",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "q",
        "x",
        "type",
        "n"
      ],
      "rows": 40000,
      "table": true,
      "tojson": true
    },
    {
      "name": "tiles",
      "title": "Lookup table for tiles conversion",
      "object": "tiles",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "id",
        "cmajiang",
        "mjai",
        "tenhou_int"
      ],
      "rows": 38,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calc_defen",
      "title": "Calculate score of hand",
      "topics": [
        "calc_defen"
      ]
    },
    {
      "page": "calc_xiangting",
      "title": "Calculate xiangting number of hands",
      "topics": [
        "calc_xiangting"
      ]
    },
    {
      "page": "collect_tingpai",
      "title": "Collect tingpais for hands",
      "topics": [
        "collect_tingpai"
      ]
    },
    {
      "page": "mjai",
      "title": "Convert symbols from 'mjai' format",
      "topics": [
        "convert-from-mjai",
        "mjai_conv",
        "mjai_target"
      ]
    },
    {
      "page": "default_rule",
      "title": "Create default rule set",
      "topics": [
        "default_rule"
      ]
    },
    {
      "page": "detect",
      "title": "Detect specific tiles",
      "topics": [
        "detect-tiles",
        "is_fulou",
        "is_lizhi",
        "is_suit",
        "is_suzhi",
        "is_tsumogiri",
        "is_yaojiu",
        "is_zhongzhang",
        "tile2rank",
        "tile2suit"
      ]
    },
    {
      "page": "hand2img",
      "title": "Plot a player's hand as an image",
      "topics": [
        "hand2img"
      ]
    },
    {
      "page": "hupai",
      "title": "List of hupai",
      "topics": [
        "hupai"
      ]
    },
    {
      "page": "int2tile",
      "title": "Convert integers to tiles",
      "topics": [
        "int2tile"
      ]
    },
    {
      "page": "is_valid_tile",
      "title": "Check if each element is a valid tile",
      "topics": [
        "is_valid_tile"
      ]
    },
    {
      "page": "lineup",
      "title": "Line up tiles",
      "topics": [
        "lineup"
      ]
    },
    {
      "page": "lipai",
      "title": "Compose hands from character vectors",
      "topics": [
        "lipai"
      ]
    },
    {
      "page": "modify_rule",
      "title": "Modify the default rule set by patch",
      "topics": [
        "modify_rule"
      ]
    },
    {
      "page": "paistr",
      "title": "'paistr' vector",
      "topics": [
        "calculate.skksph_paistr",
        "is_paistr",
        "paistr",
        "plot.skksph_paistr",
        "tidy.skksph_paistr"
      ]
    },
    {
      "page": "parse_hupai",
      "title": "Parse chains of hupai ids",
      "topics": [
        "parse_hupai"
      ]
    },
    {
      "page": "proceed",
      "title": "Proceed state of hands",
      "topics": [
        "proceed"
      ]
    },
    {
      "page": "rand_hands",
      "title": "Create a function to randomly generate hands",
      "topics": [
        "rand_hands"
      ]
    },
    {
      "page": "rand_qipai",
      "title": "Generate hands at random",
      "topics": [
        "rand_qipai"
      ]
    },
    {
      "page": "ranked_game",
      "title": "Sample data of mahjong game log",
      "topics": [
        "ranked_game"
      ]
    },
    {
      "page": "testdat_xiangting",
      "title": "Test cases for 'calc_xiangting()'",
      "topics": [
        "testdat_xiangting"
      ]
    },
    {
      "page": "tiles",
      "title": "Lookup table for tiles conversion",
      "topics": [
        "tiles"
      ]
    },
    {
      "page": "trans_tile",
      "title": "Translate tiles from one format to another",
      "topics": [
        "trans_tile"
      ]
    }
  ],
  "_readme": "https://github.com/paithiov909/shikakusphere/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "curl",
    "generics",
    "glue",
    "lifecycle",
    "magick",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "Rcpp",
    "rlang",
    "stringi",
    "tibble",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "shikakusphere",
  "_universes": [
    "paithiov909"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-02T10:38:34.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "bfd32bca581bb115cec7483e22ed12c101392fe533590435f7474fea50a7782b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-02T10:38:39.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "5feb406df2e0a6275885b02806c798ead61e1df69899e4e3e7db09510d4d74f0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-02T10:38:30.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "48cc0bd5c19f162619c2a60b9f9c8b8010a559e640ec34d4ef0d4d59a781c3a0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-06-02T10:38:22.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "eb4b2ddecb97e189d947988851c8083c70325526e38ad149661d5e1b96e81b03",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-06-02T10:44:46.000Z",
      "arch": "aarch64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "8a23a28e31604daa9538a23c71e6c1af7890470a1cfb2f3b558d1f00814b3355",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-06-02T10:39:22.000Z",
      "arch": "x86_64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "fb2c6cd3435c2f6b1d8eb0eb0ec169b59dd91002a4f8a7e412d0cbd13c0696bd",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-06-02T10:46:11.000Z",
      "arch": "aarch64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "8809eb08563c7146ac01a5e362ce38ba1bf6aa303aa12797ec489ae7596e6075",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-06-02T10:39:26.000Z",
      "arch": "x86_64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "f7045a37752985c8be6a551488cca0d92f15a2218c9aef1fad847f8f7117b35a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-06-02T10:38:40.000Z",
      "arch": "emscripten",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "9cd4128a4ffce48ee5f0936025cfd5ebc893938aeb8a0e068cd10ea919ab8232",
      "status": "success",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-06-02T10:37:58.000Z",
      "arch": "x86_64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "24534710fd9937f80c93e07c4261d67433d5e833825e1f985857fff78cf9fa90",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-06-02T10:37:33.000Z",
      "arch": "x86_64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "96297efe4d14a14ad8bb79563044a2fa3ec146dd9050f30083e77dd2c70cfb60",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-06-02T10:37:39.000Z",
      "arch": "x86_64",
      "commit": "4f6fb0a215b98e81e1bdea3d2ae79d37665fe86d",
      "fileid": "36d7e684be337b555d2c161658270580dbe8e48a602f1457e453d76cb6322c3e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/paithiov909/actions/runs/26814103248"
    }
  ]
}