{
  "_id": "6af32de2535793c853326a88",
  "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-11-10 13:59:33 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/c05dc0ceb0491d8fe17da0e2c76f6c505a2c36027b979ee7fdf2b56f584772f8",
  "_filesize": 174737,
  "_sha256": "c05dc0ceb0491d8fe17da0e2c76f6c505a2c36027b979ee7fdf2b56f584772f8",
  "_expires": "2027-02-18T14:44:47.000Z",
  "_created": "2026-11-10T13:59:33.000Z",
  "_published": "2026-11-10T14:44:49.935Z",
  "_upstream": "https://gitlab.com/mbq/toporanga",
  "_status": "success",
  "_maintainer": {
    "name": "Miron B. Kursa",
    "email": "m@mbq.me",
    "orcid": "0000-0001-7672-648X"
  },
  "_jobs": [
    {
      "job": 129876121490,
      "time": 75,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13770722403"
    },
    {
      "job": 129876121416,
      "time": 97,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13771505772"
    },
    {
      "job": 129876121598,
      "time": 72,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13771685648"
    },
    {
      "job": 129876121436,
      "time": 93,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13771695563"
    },
    {
      "job": 129876121495,
      "time": 76,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13772456823"
    },
    {
      "job": 129876121403,
      "time": 196,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13771004272"
    },
    {
      "job": 129876121433,
      "time": 87,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13770559849"
    },
    {
      "job": 129876121551,
      "time": 182,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13772794136"
    },
    {
      "job": 129874798474,
      "time": 143,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13771625428"
    },
    {
      "job": 129876121344,
      "time": 75,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13771425986"
    },
    {
      "job": 129876121482,
      "time": 199,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13772105014"
    },
    {
      "job": 129876121578,
      "time": 94,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13769769600"
    },
    {
      "job": 129876121718,
      "time": 52,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13770836640"
    },
    {
      "job": 129876121360,
      "time": 201,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13771141534"
    },
    {
      "job": 129876121440,
      "time": 53,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13770607395"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669",
  "_commit": {
    "id": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
    "author": "Miron B. Kursa <m@mbq.me>",
    "committer": "Miron B. Kursa <m@mbq.me>",
    "message": "Missing stdbool import\n",
    "time": 1752429500
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": 293,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/toporanga"
  },
  "_devurl": "https://gitlab.com/mbq/toporanga",
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_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-11-10T14:00:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/4302d46733ca6f89c20409ec236adb0051621b3e10646ac6269f306ce68493f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-10T14:01:12.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/777a271d89e59d8619d524bcbcc2cc5a825b5e064941c4b734348bf85eb6dc06",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-10T14:00:55.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/55f08d5ec58b8c69988f3dffe779a842bb07180b86ef5b06f517b39f37aebad8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-10T14:01:09.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/f83b85a36bce2491ae059380a664a1ada24a05468204cdf68ccd349dcd910f4d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-11-10T14:20:43.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/41ccbea5a9c4235e45162038bd0c447b31e8758c41b46b5058c39e3773802056",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-11-10T14:20:05.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/ece23dcaa0a0c48c6485777995c49d9ea7639aeac0f6e517769aa866ef46cc46",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-11-10T14:11:41.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/5a715f19a7be407077da741b2c527fd3b00baa59c13a30c3a28cfc4e4944fbe8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-11-10T14:44:01.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/c721ecdc25925a6389b505a7dcdc2be90b29d0e505064fe4bf917a23265e32d8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-11-10T14:01:01.000Z",
      "arch": "emscripten",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/7303e0fedd54e3f034f8bdf24903f7d3414375bcb1a876313a22216704510fca",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-10T14:02:47.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/d251ef9d4feb453f7b9d87322fc07296659765ba695aa5c3fdcaf7410d1477f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-10T14:00:32.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/246b08b3408cdb10cdaf245e5799f2f6653cd2fb8b5c6208e1a8da281c1b7130",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-10T14:00:23.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/f9ec7279e8d8855d4f68b2682c2356a9c78675b47b40727b52cbdf7a66918b38",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-10T14:02:51.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/56086a989d34356e72e89375f1a4535ca4f4fdd2de5d28bf33f82af7d66bf2ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-10T14:00:24.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/fe169c566f822932598042c224874027ffd40552f8928255a3082f969b4e38a9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/42829239669"
    }
  ]
}