{
  "_id": "6a49ec4a54b1f994258aae59",
  "Package": "comperes",
  "Title": "Manage Competition Results",
  "Version": "0.2.7.9000",
  "Authors@R": "person(given = \"Evgeni\",\nfamily = \"Chasnovski\",\nrole = c(\"aut\", \"cre\"),\nemail = \"evgeni.chasnovski@gmail.com\",\ncomment = c(ORCID = \"0000-0002-1617-4019\"))",
  "Description": "Tools for storing and managing competition results.\nCompetition is understood as a set of games in which players\ngain some abstract scores.  There are two ways for storing\nresults: in long (one row per game-player) and wide (one row\nper game with fixed amount of players) formats. This package\nprovides functions for creation and conversion between them.\nAlso there are functions for computing their summary and\nHead-to-Head values for players. They leverage grammar of data\nmanipulation from 'dplyr'.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/echasnovski/comperes",
  "BugReports": "https://github.com/echasnovski/comperes/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE, old_usage = TRUE)",
  "RoxygenNote": "7.2.3",
  "Config/pak/sysreqs": "libicu-dev",
  "Repository": "https://echasnovski.r-universe.dev",
  "Date/Publication": "2023-03-02 10:34:24 UTC",
  "RemoteUrl": "https://github.com/echasnovski/comperes",
  "RemoteRef": "HEAD",
  "RemoteSha": "171bd05487759faefb2e251f6dd68cf0494c48ab",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-13 06:40:34 UTC",
    "User": "root"
  },
  "Author": "Evgeni Chasnovski [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1617-4019>)",
  "Maintainer": "Evgeni Chasnovski <evgeni.chasnovski@gmail.com>",
  "_user": "echasnovski",
  "_type": "src",
  "_file": "comperes_0.2.7.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/720a52d1b4dcb3de327a7efaebd2bcaf4c062de2d68f8b7426eeee6cbea26bb6",
  "_filesize": 225043,
  "_sha256": "720a52d1b4dcb3de327a7efaebd2bcaf4c062de2d68f8b7426eeee6cbea26bb6",
  "_expires": "2026-10-13T05:31:52.000Z",
  "_created": "2026-06-13T06:40:34.000Z",
  "_published": "2026-07-05T05:31:54.140Z",
  "_jobs": [
    {
      "job": 85195880312,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608276266"
    },
    {
      "job": 85195880415,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608274974"
    },
    {
      "job": 85195880462,
      "time": 97,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7608287792"
    },
    {
      "job": 85195880499,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608292034"
    },
    {
      "job": 85195880213,
      "time": 214,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608258055"
    },
    {
      "job": 85195880473,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608272837"
    },
    {
      "job": 85195880310,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7608271316"
    },
    {
      "job": 85195880367,
      "time": 79,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7608268473"
    },
    {
      "job": 85195880350,
      "time": 101,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7608271208"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/echasnovski/actions/runs/27459266642",
  "_status": "success",
  "_upstream": "https://github.com/echasnovski/comperes",
  "_commit": {
    "id": "171bd05487759faefb2e251f6dd68cf0494c48ab",
    "author": "Evgeni Chasnovski <evgeni.chasnovski@gmail.com>",
    "committer": "Evgeni Chasnovski <evgeni.chasnovski@gmail.com>",
    "message": "Use development version.\n",
    "time": 1677753264
  },
  "_maintainer": {
    "name": "Evgeni Chasnovski",
    "email": "evgeni.chasnovski@gmail.com",
    "login": "echasnovski",
    "bluesky": "@echasnovski.com",
    "description": "Data science, Machine learning |\nR, Python, Lua |\nNeovim plugins",
    "uuid": 24854248,
    "orcid": "0000-0002-1617-4019"
  },
  "_distro": "noble",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "version": ">= 0.7.0",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 0.1.2",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "version": ">= 0.7.0",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "echasnovski",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_stars": 8,
  "_contributors": [
    {
      "user": "echasnovski",
      "count": 116,
      "uuid": 24854248
    },
    {
      "user": "davisvaughan",
      "count": 1,
      "uuid": 19150088
    },
    {
      "user": "lionel-",
      "count": 1,
      "uuid": 4465050
    }
  ],
  "_userbio": {
    "uuid": 24854248,
    "type": "user",
    "name": "Evgeni Chasnovski",
    "description": "Data science, Machine learning |\r\nR, Python, Lua |\r\nNeovim plugins"
  },
  "_downloads": {
    "count": 281,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/comperes"
  },
  "_devurl": "https://github.com/echasnovski/comperes",
  "_searchresults": 47,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/comperes.html",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/echasnovski/comperes",
  "_realowner": "echasnovski",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2018-05-11"
    },
    {
      "version": "0.2.1",
      "date": "2018-10-12"
    },
    {
      "version": "0.2.2",
      "date": "2019-01-12"
    },
    {
      "version": "0.2.3",
      "date": "2019-12-14"
    },
    {
      "version": "0.2.4",
      "date": "2020-05-09"
    },
    {
      "version": "0.2.5",
      "date": "2020-11-23"
    },
    {
      "version": "0.2.6",
      "date": "2023-01-08"
    },
    {
      "version": "0.2.7",
      "date": "2023-02-28"
    }
  ],
  "_exports": [
    "%>%",
    "as_longcr",
    "as_tibble",
    "as_widecr",
    "get_matchups",
    "h2h_funs",
    "h2h_long",
    "h2h_mat",
    "is_longcr",
    "is_pairgames",
    "is_widecr",
    "join_game_summary",
    "join_item_summary",
    "join_player_summary",
    "levels2",
    "long_to_mat",
    "mat_to_long",
    "num_wins",
    "summarise_game",
    "summarise_item",
    "summarise_player",
    "summarize_game",
    "summarize_item",
    "summarize_player",
    "summary_funs",
    "to_h2h_long",
    "to_h2h_mat",
    "to_pairgames"
  ],
  "_datasets": [
    {
      "name": "hp_survey",
      "title": "Results of Harry Potter Books Survey",
      "object": "hp_survey",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "person",
        "book",
        "score"
      ],
      "rows": 657,
      "table": true,
      "tojson": true
    },
    {
      "name": "ncaa2005",
      "title": "Example competition results from 2005 NCAA football season",
      "object": "ncaa2005",
      "class": [
        "longcr",
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "game",
        "player",
        "score"
      ],
      "rows": 20,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "comperes-package",
      "title": "comperes: Manage Competition Results",
      "topics": [
        "comperes-package",
        "comperes"
      ]
    },
    {
      "page": "convert-pair-value",
      "title": "Convert between long pair-value data and matrix",
      "topics": [
        "convert-pair-value",
        "long_to_mat",
        "mat_to_long"
      ]
    },
    {
      "page": "get_matchups",
      "title": "Get matchups from competition results",
      "topics": [
        "get_matchups"
      ]
    },
    {
      "page": "h2h_funs",
      "title": "Common Head-to-Head functions",
      "topics": [
        "h2h_funs"
      ]
    },
    {
      "page": "h2h_long",
      "title": "Compute long format of Head-to-Head values",
      "topics": [
        "as_tibble.h2h_long",
        "h2h_long",
        "to_h2h_long"
      ]
    },
    {
      "page": "h2h_mat",
      "title": "Compute matrix format of Head-to-Head values",
      "topics": [
        "h2h_mat",
        "to_h2h_mat"
      ]
    },
    {
      "page": "hp_survey",
      "title": "Results of Harry Potter Books Survey",
      "topics": [
        "hp_survey"
      ]
    },
    {
      "page": "item-summary",
      "title": "Compute item summary",
      "topics": [
        "item-summary",
        "summarise_game",
        "summarise_item",
        "summarise_player",
        "summarize_game",
        "summarize_item",
        "summarize_player"
      ]
    },
    {
      "page": "item-summary-join",
      "title": "Join item summary",
      "topics": [
        "item-summary-join",
        "join_game_summary",
        "join_item_summary",
        "join_player_summary"
      ]
    },
    {
      "page": "levels2",
      "title": "Levels of vector",
      "topics": [
        "levels2"
      ]
    },
    {
      "page": "longcr",
      "title": "Long format of competition results",
      "topics": [
        "as_longcr",
        "as_tibble.longcr",
        "is_longcr",
        "longcr"
      ]
    },
    {
      "page": "ncaa2005",
      "title": "Example competition results from 2005 NCAA football season",
      "topics": [
        "ncaa2005"
      ]
    },
    {
      "page": "pairgames",
      "title": "Competition results with games between two players",
      "topics": [
        "is_pairgames",
        "pairgames",
        "to_pairgames"
      ]
    },
    {
      "page": "summary_funs",
      "title": "Common item summary functions",
      "topics": [
        "summary_funs"
      ]
    },
    {
      "page": "widecr",
      "title": "Wide format of competition results",
      "topics": [
        "as_tibble.widecr",
        "as_widecr",
        "is_widecr",
        "widecr"
      ]
    }
  ],
  "_readme": "https://github.com/echasnovski/comperes/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "generics",
    "glue",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "purrr",
    "R6",
    "rlang",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "formats.Rmd",
      "filename": "formats.html",
      "title": "Formats of Competition Results",
      "author": "Evgeni Chasnovski",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Storage",
        "Long format",
        "Wide format",
        "Conversion",
        "Notes"
      ],
      "created": "2018-03-17 13:30:08",
      "modified": "2018-03-17 13:30:08",
      "commits": 1
    },
    {
      "source": "manipulation.Rmd",
      "filename": "manipulation.html",
      "title": "Manipulate Competition Results",
      "author": "Evgeni Chasnovski",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Item summaries",
        "Head-to-Head values",
        "Conversion",
        "Pairgames"
      ],
      "created": "2018-03-17 13:30:08",
      "modified": "2018-10-20 15:34:52",
      "commits": 7
    }
  ],
  "_score": 6.353339095311305,
  "_indexed": true,
  "_nocasepkg": "comperes",
  "_universes": [
    "echasnovski"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.7.9000",
      "date": "2026-06-13T06:42:57.000Z",
      "distro": "noble",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/18efc7f6d185f5b30a0a89797de3f10871009caed04e5212ce6e822613ae0707",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/27459266642"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.7.9000",
      "date": "2026-06-13T06:42:47.000Z",
      "distro": "noble",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/a5c64ce2197ebf0e68c5a1b02b30ce12235b74a1c29d85e5c97130524bffdf77",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/27459266642"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7.9000",
      "date": "2026-06-13T06:44:37.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/5bf008516c42f182d510cd4636f0cc8e0b2e75acbea38ef7401e2684c4170116",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/27459266642"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.7.9000",
      "date": "2026-06-13T06:45:08.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/8c2a241c05298994961a8894ef8cd6fe21f50d8c7cfa3d97175e59a48c3122ae",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/27459266642"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.7.9000",
      "date": "2026-06-13T06:42:51.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/3b833e47dcf3b8d1a245d04a48af9c1276ffe2f336a5e31341654d1a84a4888b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/27459266642"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.7.9000",
      "date": "2026-06-13T06:41:55.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/ed9efd778f4567fd40c6a6042eb2bbcf60932412f026275f26ec59d44e022f82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/27459266642"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.7.9000",
      "date": "2026-06-13T06:41:48.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/f665ea417ffe5e1a3dfecd9289fd73b09ccad3546e5e852c010f720ec8f21e4b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/27459266642"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.7.9000",
      "date": "2026-06-13T06:42:08.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/e58dcb6cf5b47bc3e6dde45213baf031c0c04a0073367cbc94a600b57492105d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/27459266642"
    }
  ]
}