{
  "_id": "6acbaec1fe5cc25786e92494",
  "Package": "toporanga",
  "Type": "Package",
  "Title": "Topological Sort-Based Hierarchy Inference",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\nc(\"Miron\",\"B.\"),\"Kursa\",\nrole=c(\"aut\",\"cre\"),\nemail=\"m@mbq.me\",\ncomment=c(ORCID=\"0000-0001-7672-648X\")\n)\n)",
  "License": "GPL-3",
  "Description": "Deciphering hierarchy of agents exhibiting observable\ndominance events is a crucial problem in several disciplines,\nin particular in behavioural analysis of social animals, but\nalso in social sciences and game theory. This package\nimplements an inference approach based on graph theory, namely\nto extract the optimal acyclic subset of a weighted graph of\ndominance; this allows for hierarchy estimation through\ntopological sorting. The package also contains infrastructure\nto investigate partially defined hierarchies and hierarchy\ndynamics.",
  "BugReports": "https://gitlab.com/mbq/toporanga/-/issues",
  "URL": "https://gitlab.com/mbq/toporanga",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Config/testthat/edition": "3",
  "Repository": "https://mbq.r-universe.dev",
  "Date/Publication": "2025-07-13 17:58:20 UTC",
  "RemoteUrl": "https://gitlab.com/mbq/toporanga",
  "RemoteRef": "HEAD",
  "RemoteSha": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-11 15:36:51 UTC",
    "User": "root"
  },
  "Author": "Miron B. Kursa [aut, cre] (ORCID:\n<https://orcid.org/0000-0001-7672-648X>)",
  "Maintainer": "Miron B. Kursa <m@mbq.me>",
  "_user": "mbq",
  "_type": "src",
  "_file": "toporanga_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/6672e2c0f2ca4ac28346708fc43ec563e70e77fc8a41dd578e3208e6d8deb10f",
  "_filesize": 174864,
  "_sha256": "6672e2c0f2ca4ac28346708fc43ec563e70e77fc8a41dd578e3208e6d8deb10f",
  "_expires": "2027-01-19T15:43:59.000Z",
  "_created": "2026-10-11T15:36:51.000Z",
  "_published": "2026-10-11T15:44:01.323Z",
  "_buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114507275085,
      "time": 120,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11705819935"
    },
    {
      "job": 114507274988,
      "time": 94,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707590043"
    },
    {
      "job": 114507275010,
      "time": 81,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707530077"
    },
    {
      "job": 114507275044,
      "time": 116,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11705994754"
    },
    {
      "job": 114507275110,
      "time": 105,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11706782751"
    },
    {
      "job": 114507275078,
      "time": 279,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11706509625"
    },
    {
      "job": 114507275081,
      "time": 103,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707570131"
    },
    {
      "job": 114507275049,
      "time": 246,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707331694"
    },
    {
      "job": 114506775276,
      "time": 146,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11707365805"
    },
    {
      "job": 114507274975,
      "time": 72,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11706822247"
    },
    {
      "job": 114507275041,
      "time": 198,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11707630500"
    },
    {
      "job": 114507275097,
      "time": 105,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11706079711"
    },
    {
      "job": 114507275114,
      "time": 70,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11706772467"
    },
    {
      "job": 114507275169,
      "time": 169,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11706877236"
    },
    {
      "job": 114507275082,
      "time": 70,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11706419261"
    }
  ],
  "_upstream": "https://gitlab.com/mbq/toporanga",
  "_commit": {
    "id": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
    "author": "Miron B. Kursa <m@mbq.me>",
    "committer": "Miron B. Kursa <m@mbq.me>",
    "message": "Missing stdbool import\n",
    "time": 1752429500
  },
  "_maintainer": {
    "name": "Miron B. Kursa",
    "email": "m@mbq.me",
    "orcid": "0000-0001-7672-648X"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "gitlab-mbq",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_userbio": {
    "uuid": 489199,
    "type": "user",
    "name": "Miron Kursa",
    "followers": 31,
    "description": "Only using GitHub to waste Microsoft resources. Find me on GitLab for the cool stuff (;"
  },
  "_downloads": {
    "count": 269,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/toporanga"
  },
  "_devurl": "https://gitlab.com/mbq/toporanga",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "extra/toporanga.html"
  ],
  "_homeurl": "https://gitlab.com/mbq/toporanga",
  "_realowner": "mbq",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-07-16"
    }
  ],
  "_exports": [
    "all_toposorts",
    "arrange",
    "components",
    "cumulative_epochs",
    "diffuse",
    "dot",
    "marginise",
    "normalise",
    "parameters",
    "sample_toposort",
    "tally_from_matrix",
    "tally_log",
    "toporanga",
    "window_epochs",
    "zero_opposition"
  ],
  "_datasets": [
    {
      "name": "EcoHAB",
      "title": "Example EcoHAB data",
      "object": "EcoHAB",
      "file": "EcoHAB.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "winner",
        "loser",
        "t"
      ],
      "rows": 6575,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "all_toposorts",
      "title": "Extract all possible toposorts of a graph",
      "topics": [
        "all_toposorts"
      ]
    },
    {
      "page": "arrange",
      "title": "Arrange agents into hierarchy",
      "topics": [
        "arrange"
      ]
    },
    {
      "page": "components",
      "title": "Extract components of a tally",
      "topics": [
        "components"
      ]
    },
    {
      "page": "cumulative_epochs",
      "title": "Cumulative epoch generator",
      "topics": [
        "cumulative_epochs"
      ]
    },
    {
      "page": "diffuse",
      "title": "Diffuse the weights over indirect links.",
      "topics": [
        "diffuse"
      ]
    },
    {
      "page": "dot",
      "title": "Export dominance graph into Graphviz dot format",
      "topics": [
        "dot"
      ]
    },
    {
      "page": "EcoHAB",
      "title": "Example EcoHAB data",
      "topics": [
        "EcoHAB"
      ]
    },
    {
      "page": "marginise",
      "title": "Convert tally weights into margin weights",
      "topics": [
        "marginise"
      ]
    },
    {
      "page": "normalise",
      "title": "Normalise tally weights",
      "topics": [
        "normalise"
      ]
    },
    {
      "page": "parameters",
      "title": "Parameters of agents from a graph",
      "topics": [
        "parameters"
      ]
    },
    {
      "page": "sample_toposort",
      "title": "Switch default toposorts of a graph to a random one",
      "topics": [
        "sample_toposort"
      ]
    },
    {
      "page": "tally_from_matrix",
      "title": "Create tally from a raw matrix",
      "topics": [
        "tally_from_matrix"
      ]
    },
    {
      "page": "tally_log",
      "title": "Create tally from an event log",
      "topics": [
        "tally_log"
      ]
    },
    {
      "page": "toporanga",
      "title": "A catch-all function to access package functionality in one call",
      "topics": [
        "toporanga"
      ]
    },
    {
      "page": "window_epochs",
      "title": "Moving window epoch generator",
      "topics": [
        "window_epochs"
      ]
    },
    {
      "page": "zero_opposition",
      "title": "Zero the opposing tally weights",
      "topics": [
        "zero_opposition"
      ]
    }
  ],
  "_readme": "https://gitlab.com/mbq/toporanga/raw/HEAD/README.md",
  "_rundeps": [],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "toporanga",
  "_universes": [
    "mbq",
    "gitlab-mbq"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-11T15:39:05.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/dea7e1d24b5c5a3cb55cba04038e880812c5f40ba522cb101cceece9c496f15d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-11T15:38:34.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/fe5ec20c740ae55687098adc0bc8de474b9abda3f6b794e70ad7fd10b4796617",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-11T15:38:24.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/10483c5f6df02c761820d3d2bd83ba067b73a9e095331db55d2ad2dd6c31a7c6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-11T15:38:55.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/7548b7429899af20362866cf40ffa7f346e603d53a06196ffe7c527c3bf97c35",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-11T15:40:18.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/c24a259cc729d00fabf6603b49e48164668fa0bb33ab395fa53280c705e929ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-11T15:43:11.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/f6c262430180ee1c472701e9935c82db76e5abd3ed9f6a4ec1c3fdfba21c9a7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-11T15:39:08.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/6ff673f6af02cc966a5cb3c16ec157910ba6877a59eb750aed3edf6475987357",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-11T15:42:29.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/f749cf3b2030fe808a4eeb9792083013a7a7b6e2cab2104012d2953f52a1bc4c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-11T15:38:22.000Z",
      "arch": "emscripten",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/66a285e02773101bcc2c4d08932d033c1440e0ea5e2ed1a8546a291103b1e435",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T15:40:08.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/418e8a91b28078fa7a5ef2065df6edbe3415fe79a082b45a12ef02adbf49252d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T15:37:59.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/265ca49df24c890fba4cd131ab5d1036aa036cbd1d6b8fce43e66ccf0491ea07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T15:38:01.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/42d721174f7db308c6102867871c795a2cff7dd10079beb867ef158c190f16c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T15:39:43.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/8ef4f1574695a0fb43ad707b01200874701f98f0ef223486df18e6973a8ddd92",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-11T15:37:58.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/fe0ba36f01282cbf51f0a100c2f26e8fc4b9115d08f060c7d1838f7a5b847623",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/38151838691"
    }
  ]
}