{
  "_id": "6a102bb6acfb0bcc41c92a69",
  "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-05-13 06:27:40 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>",
  "MD5sum": "6f74b5a2debbf97b147c36511c0be2e1",
  "_user": "mbq",
  "_type": "src",
  "_file": "toporanga_1.0.0.tar.gz",
  "_fileid": "34e68c74a0b94d253968d51f0a4a5a771cdcf225887a10315f1e4c3465b3ed95",
  "_filesize": 174790,
  "_sha256": "34e68c74a0b94d253968d51f0a4a5a771cdcf225887a10315f1e4c3465b3ed95",
  "_created": "2026-05-13T06:27:40.000Z",
  "_published": "2026-05-22T10:11:02.235Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77359256101,
      "time": 112,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6963113143"
    },
    {
      "job": 77359256007,
      "time": 110,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6963113729"
    },
    {
      "job": 77359256061,
      "time": 141,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963120058"
    },
    {
      "job": 77359256386,
      "time": 92,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963109566"
    },
    {
      "job": 77359256550,
      "time": 109,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6963144892"
    },
    {
      "job": 77359256586,
      "time": 149,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6963139484"
    },
    {
      "job": 77359256970,
      "time": 147,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963176778"
    },
    {
      "job": 77359256138,
      "time": 182,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963149453"
    },
    {
      "job": 77359255353,
      "time": 127,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963085462"
    },
    {
      "job": 77359255247,
      "time": 78,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7158037564"
    },
    {
      "job": 77359256003,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6963110914"
    },
    {
      "job": 77359255981,
      "time": 80,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6963104998"
    },
    {
      "job": 77359255969,
      "time": 65,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6963101470"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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"
  },
  "_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": 496,
    "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-05-13T06:29:37.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "90194ed052929acb8d2245393ed89cd4e7e23ff55b33b42a947d3590e25da27f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-13T06:29:37.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "fccd73587e75fa378397b02acd1dd958d2772dc24a26c3a0795bb5ee805619eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-13T06:30:07.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "30f9e3f2c9b96dcd4e58160c35588d077daa1694ab12be49519a22f6e95f2cd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-05-13T06:29:21.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "307ab0c5c227cbb8f30d5aac70ad983f9dee3e5ee9fa0993639f7e7ecde8c44d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-13T06:31:39.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "9a701396d0a3110834844ecaf34eff06ec5ae82649042c4ffa469d38683e0c3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-13T06:31:16.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "9dbe5870b096a27c72fa084a462e67eec74163fb6d0986acf2d5f03f80f5f893",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-13T06:33:42.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "fb12f619f2b9513859b9aec76b45ae9138832c206a94375d42aba0e9d8f1074e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-05-13T06:31:52.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "525e24d7feba49c00f9aec71de3d687d4d3679afb9edc95617d600c1103e9d05",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-13T06:29:01.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "1c0b17b323c832781939dc9a9e5e77521db9bb917850e2fcc31992f99db88c6e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-13T06:28:44.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "e747ed2d4860cb19db857d738038acb196e98f08798c5ccc1baa819d0c9ad689",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-05-13T06:28:39.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "dcfa8388ba9893651d36c11fe5102fe7b4c0af812d8dfa97b48d4be201c7192f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-05-22T10:10:40.000Z",
      "arch": "emscripten",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "5e3b5b85e9a521eb535863890a6ed11ebfbf42873afd8b4e42cb4b81c9f4b8d2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/25782322934"
    }
  ]
}