{
  "_id": "6a534ba99b92047c28d57b0c",
  "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-07-12 08:05:49 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/794fa86d282362c62a7cd7cecd8b5fcb49201a1461f5f49b3a38aa4f8a08a739",
  "_filesize": 175191,
  "_sha256": "794fa86d282362c62a7cd7cecd8b5fcb49201a1461f5f49b3a38aa4f8a08a739",
  "_expires": "2026-10-20T08:09:11.000Z",
  "_created": "2026-07-12T08:05:49.000Z",
  "_published": "2026-07-12T08:09:13.454Z",
  "_jobs": [
    {
      "job": 86630185800,
      "time": 126,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8257810859"
    },
    {
      "job": 86630185790,
      "time": 113,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8257808556"
    },
    {
      "job": 86630185775,
      "time": 128,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257811199"
    },
    {
      "job": 86630185791,
      "time": 122,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257810044"
    },
    {
      "job": 86630185813,
      "time": 94,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8257805779"
    },
    {
      "job": 86630185793,
      "time": 148,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8257813570"
    },
    {
      "job": 86630185821,
      "time": 88,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257805007"
    },
    {
      "job": 86630185781,
      "time": 167,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257816590"
    },
    {
      "job": 86629996051,
      "time": 151,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257792401"
    },
    {
      "job": 86630185760,
      "time": 82,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8257804268"
    },
    {
      "job": 86630185753,
      "time": 69,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8257802361"
    },
    {
      "job": 86630185786,
      "time": 90,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8257805185"
    },
    {
      "job": 86630185762,
      "time": 68,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8257802559"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639",
  "_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": "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": [
    {
      "week": "2025-28",
      "n": 8
    }
  ],
  "_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": 421,
    "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/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": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "toporanga",
  "_universes": [
    "mbq",
    "gitlab-mbq"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-12T08:08:01.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/94dcab8167d594642f54b930bd4fd5a3160a003616c7e5095dce445cc5a397d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-12T08:07:45.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/ebe145221cd0b0499a435e8c17b65da2abed72a4b30a6def4866f327feeef64a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-12T08:08:03.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/ed731ecc65ffcab1adf8fb0df977fcd9707772e19d1a600cef32dd65347ed369",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-07-12T08:07:51.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/993a2c4ca7dd6269363e1bdd0760d49301a2e369ea35de547da43042b99bc7cd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-12T08:07:22.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/5fcb5a81686c63b4b77c9d4266fccc5e85ee10bacd610a5163a96350661bc2f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-12T08:08:09.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/3add6c8751b1840858ad0bc018f5e27f1da21001e44ad30af8ed4cfc025483e4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-12T08:07:15.000Z",
      "arch": "aarch64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/a1953ef1c375a178345226e561b05201f34b66463076cf8b2a485e3702ac3520",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-07-12T08:08:29.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/844e48c7083f936ce715ad15b03b6aa31472a5253194eeca7656936946cdf3a8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-07-12T08:07:23.000Z",
      "arch": "emscripten",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/1e0addffa4665372be0611bea7a8b58b3451d5a8b30091c96a3ad4b9a27d36ae",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-12T08:06:47.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/c7c3ede66d8ec4c278aeb15076183b4663a1b968fcfb0b707c95bda0be348476",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-12T08:07:05.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/6c3861e9ca44c702abdd05fe3c819ec2a73b866ee4a0be6d1fcd779735501613",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-07-12T08:06:50.000Z",
      "arch": "x86_64",
      "commit": "fc781f569684505dfea8e12de6ee7a2f6731bb95",
      "fileid": "https://r2.ropensci.org/5d15d9f1d730017fb7fa30f201ee312c243179b79e088ab1a7b8ad7309d5e267",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mbq/actions/runs/29185214639"
    }
  ]
}