{
  "_id": "6a49fca19a7b00bcc12f5e02",
  "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-06-12 09:40:00 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/c678a1487893c2d2feaa92423a5ae3d95a9dcc6ca0e322acbecf1b098c72d96a",
  "_filesize": 175208,
  "_sha256": "c678a1487893c2d2feaa92423a5ae3d95a9dcc6ca0e322acbecf1b098c72d96a",
  "_expires": "2026-10-13T06:41:35.000Z",
  "_created": "2026-06-12T09:40:00.000Z",
  "_published": "2026-07-05T06:41:37.409Z",
  "_jobs": [
    {
      "job": 85200054528,
      "time": 119,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7588239118"
    },
    {
      "job": 85200054468,
      "time": 116,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7588237138"
    },
    {
      "job": 85200054582,
      "time": 131,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7588242429"
    },
    {
      "job": 85200054470,
      "time": 111,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7588235777"
    },
    {
      "job": 85200054363,
      "time": 92,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7588229234"
    },
    {
      "job": 85200054467,
      "time": 227,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7588275204"
    },
    {
      "job": 85200054462,
      "time": 87,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7588227251"
    },
    {
      "job": 85200054304,
      "time": 165,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7588253983"
    },
    {
      "job": 85200054287,
      "time": 151,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7588195548"
    },
    {
      "job": 85200054393,
      "time": 85,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7588226546"
    },
    {
      "job": 85200054471,
      "time": 69,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7588220606"
    },
    {
      "job": 85200054366,
      "time": 83,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7588225660"
    },
    {
      "job": 85200054388,
      "time": 81,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7588224761"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863",
  "_status": "success",
  "_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": "noble",
  "_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": [
    {
      "week": "2025-25",
      "n": 3
    },
    {
      "week": "2025-26",
      "n": 24
    },
    {
      "week": "2025-27",
      "n": 12
    },
    {
      "week": "2025-28",
      "n": 8
    }
  ],
  "_tags": [],
  "_userbio": {
    "uuid": 489199,
    "type": "user",
    "name": "Miron Kursa",
    "description": "Only using GitHub to waste Microsoft resources. Find me on GitLab for the cool stuff (;"
  },
  "_downloads": {
    "count": 481,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/toporanga"
  },
  "_devurl": "https://gitlab.com/mbq/toporanga",
  "_searchresults": 0,
  "_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/toporanga.html",
    "manual.pdf"
  ],
  "_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": 3.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "toporanga",
  "_universes": [
    "mbq",
    "gitlab-mbq"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-12T09:42:08.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/40c9b441453e9643098c87aa083017c1b392a8b445dbb3cdc2f84e48ba6daee4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-12T09:41:59.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/cdf023cd537fd45d7f5983ebc5e27c6cafe83b18e78d425c8eafa39b32dec164",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-12T09:42:17.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/2f003f38e0d912212bdcd24dcb82a4aed5b9f21339ed5250c5eb917ae2cb13b4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-06-12T09:41:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/a4fc38d65628afc07606bc40839f606b497b9394c020adcff4b169cbcb17df1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-12T09:41:36.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/fd872a4b557aee534ff38960c247f01b42e47a44756527cfeaca64f2dd49a995",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-12T09:43:39.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/d61a1f952919cb854ddda2811770e8ae97f5df59d0ea4ee871673aa3d2364cb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-12T09:41:31.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/2cc17cc733be99c1bc452d9eb1febfadba28efb11ac79fae2ea929996deb5478",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-06-12T09:42:40.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/e10c5715f4fefe232163eae3810083ce7e73473ca7c8ebebf87899898aaf30bd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-06-12T09:41:38.000Z",
      "arch": "emscripten",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/61a15c81a79f949cf2ffb8b8410ca84e2af1385c03f8e9c050d3b3792df6d23a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-12T09:41:04.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/90097dd4b48f0afef4e4d60d3582b2f52f973afba187933022722610b07091d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-12T09:41:16.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/e6477192e4652636c8ead5398b5d8fa119ddfd9df09715cf8596a5266e8f7a4f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-06-12T09:41:12.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/4ca1a749ee47d8b537b2e1ecb3c89a0a736233d182f98f5f4b989929a11cdfc4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/27407600863"
    }
  ]
}