{
  "_id": "6a1016a9acfb0bcc41c849c9",
  "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-05-14 07:27:37 UTC",
    "User": "root"
  },
  "Author": "Evgeni Chasnovski [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-1617-4019>)",
  "Maintainer": "Evgeni Chasnovski <evgeni.chasnovski@gmail.com>",
  "MD5sum": "83d3c92aeab3d24055900009d7aa08cb",
  "_user": "echasnovski",
  "_type": "src",
  "_file": "comperes_0.2.7.9000.tar.gz",
  "_fileid": "1ec6d7e0ae4cf56b39553c09997c3b6a19b9636bfc2832c52e364fd9f840c145",
  "_filesize": 225115,
  "_sha256": "1ec6d7e0ae4cf56b39553c09997c3b6a19b9636bfc2832c52e364fd9f840c145",
  "_created": "2026-05-14T07:27:37.000Z",
  "_published": "2026-05-22T08:41:13.566Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77345580145,
      "time": 138,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6989428270"
    },
    {
      "job": 77345580068,
      "time": 118,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989422958"
    },
    {
      "job": 77345580213,
      "time": 95,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7010876784"
    },
    {
      "job": 77345580315,
      "time": 123,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989424107"
    },
    {
      "job": 77345579931,
      "time": 187,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989393803"
    },
    {
      "job": 77345579696,
      "time": 112,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7156376540"
    },
    {
      "job": 77345580061,
      "time": 86,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6989415022"
    },
    {
      "job": 77345580380,
      "time": 93,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6989416507"
    },
    {
      "job": 77345580223,
      "time": 84,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6989414427"
    }
  ],
  "_buildurl": "https://github.com/r-universe/echasnovski/actions/runs/25847616320",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 24854248,
    "orcid": "0000-0002-1617-4019"
  },
  "_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": 304,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/comperes"
  },
  "_devurl": "https://github.com/echasnovski/comperes",
  "_searchresults": 43,
  "_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",
    "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.314709692955174,
  "_indexed": true,
  "_nocasepkg": "comperes",
  "_universes": [
    "echasnovski"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.7.9000",
      "date": "2026-05-14T07:29:46.000Z",
      "distro": "noble",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "bc5a040851385497f8b5bde1ff69071a404d19a84f4908a270a636a5d4e70272",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/25847616320"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.7.9000",
      "date": "2026-05-14T07:29:27.000Z",
      "distro": "noble",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "72cbf9363baed182a9ac1d680ddecf3adbb9c62e5a2c436d8f35cf46a742621c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/25847616320"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.7.9000",
      "date": "2026-05-15T05:44:51.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "6d43c6d49da08a117e1d3bf6da27eff8620bc851375b6af9cf139f78406b9b27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/25847616320"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.7.9000",
      "date": "2026-05-14T07:29:28.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "53d5dc88998a5d614de58bb7b26648fa08a5c24e0b5433626782de1b72b2ea19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/25847616320"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.7.9000",
      "date": "2026-05-14T07:28:50.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "275dfee36a86d2af22049742e1971a3252eb2591d1790a733bea090a491c6a4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/25847616320"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.7.9000",
      "date": "2026-05-14T07:28:57.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "e8aaa807021342dbf31cb4f46629bdac9dc708aab4ff5085c566efeb984e9d40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/25847616320"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.7.9000",
      "date": "2026-05-14T07:28:46.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "cc934afc5676517247e0e5301b4299c2f73e90737d24c345b64efd1c9bb2720a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/25847616320"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.7.9000",
      "date": "2026-05-22T08:40:51.000Z",
      "commit": "171bd05487759faefb2e251f6dd68cf0494c48ab",
      "fileid": "fb8674bf57fd636ddc6f22da63b4cf96c59d676a633a92fd09219813ef30c21b",
      "status": "success",
      "buildurl": "https://github.com/r-universe/echasnovski/actions/runs/25847616320"
    }
  ]
}