{
  "_id": "6acb486cfe5cc25786e8d741",
  "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-10-11 08:20:45 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/6aa33c52ac83ef0ba18df65e8bcd52eecdbea654e1af4b904a9298ff0745dc3f",
  "_filesize": 222141,
  "_sha256": "6aa33c52ac83ef0ba18df65e8bcd52eecdbea654e1af4b904a9298ff0745dc3f",
  "_expires": "2027-01-19T08:27:22.000Z",
  "_created": "2026-10-11T08:20:45.000Z",
  "_published": "2026-10-11T08:27:24.523Z",
  "_buildurl": "https://github.com/r-universe/echasnovski/actions/runs/38124273062",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114425912377,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11696765957"
    },
    {
      "job": 114425912357,
      "time": 154,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11696268907"
    },
    {
      "job": 114425912284,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11696623508"
    },
    {
      "job": 114425912286,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11696054567"
    },
    {
      "job": 114425308362,
      "time": 202,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11696453280"
    },
    {
      "job": 114425912336,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11696129065"
    },
    {
      "job": 114425912292,
      "time": 57,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11696293673"
    },
    {
      "job": 114425912337,
      "time": 82,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11696513221"
    },
    {
      "job": 114425912375,
      "time": 68,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11696208762"
    }
  ],
  "_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": "resolute",
  "_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",
    "followers": 1274,
    "description": "Data science, Machine learning |\r\nR, Python, Lua |\r\nNeovim plugins"
  },
  "_downloads": {
    "count": 463,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/comperes"
  },
  "_devurl": "https://github.com/echasnovski/comperes",
  "_searchresults": 47,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/comperes.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_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-10-11T08:22:52.000Z",
      "distro": "resolute",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/a0dfff6e56afe1775ebf4edbd3e2755620aea34e2dd6bab620f8429fc8897cd4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/38124273062"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.7.9000",
      "date": "2026-10-11T08:23:18.000Z",
      "distro": "resolute",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/70c5957c8140883d827c6c1840078193c37d1f043949376af819b49a10721774",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/38124273062"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7.9000",
      "date": "2026-10-11T08:26:44.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/385216dd96cb1662db2304d9b24428496268f31cdb4dc527e50f376e1bca4c2d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/38124273062"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.7.9000",
      "date": "2026-10-11T08:24:12.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/3de3fd0c7e699466efccf1cc8dd1b51c9981de6ead38a570936ad3017ac5dfd7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/38124273062"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.7.9000",
      "date": "2026-10-11T08:22:52.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/399d5a19773ba1599c9bb7fb16e3f3bc803dca1312ff42199fa6e6d18b77ab9d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/38124273062"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.7.9000",
      "date": "2026-10-11T08:21:43.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/54816c17d48649121843187a997d1e6577e09ba6021a9227a0f07a1e6c6f772c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/38124273062"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.7.9000",
      "date": "2026-10-11T08:22:00.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/b0d515b0eec612eb8be45a8c43b7cc505ba6f1284e1e700ad6c69c91659edeb2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/38124273062"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.7.9000",
      "date": "2026-10-11T08:21:52.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "https://r2.ropensci.org/b432c4758491948005e936b38b58e57cc8f63b89bf749be1c5738bfc4514d31b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/38124273062"
    }
  ]
}