{
  "_id": "6b0e92f87510c4b9d7da1e42",
  "Package": "communityhierarchy",
  "Type": "Package",
  "Title": "Joint Inference of Communities and Hierarchy in Directed\nNetworks",
  "Version": "0.5.0.9000",
  "Authors@R": "person(\"Maximilian\", \"Jerdee\", email = \"mjerdee@santafe.edu\",\nrole = c(\"aut\", \"cre\", \"cph\"))",
  "Description": "Fits a joint Bayesian model of community structure and\nranking in directed networks of wins, losses and draws, and\nmeasures how much of the ranking the communities explain. The\nundirected network follows a degree-corrected stochastic block\nmodel (Peixoto 2017 <doi:10.1103/PhysRevE.95.012317>), each\ninteraction is decided by the Bradley-Terry model, with draws\nas in Davidson (1970) <doi:10.1080/01621459.1970.10481082>, and\na node's score is its group's score plus an individual\ndeviation. The posterior is sampled by Markov chain Monte Carlo\nwith merge-split moves (Peixoto 2020\n<doi:10.1103/PhysRevE.102.012305>) in a C++ core shared with\nthe 'Python' package 'community-hierarchy'.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/maxjerdee/community-hierarchy,\nhttps://community-hierarchy.readthedocs.io",
  "BugReports": "https://github.com/maxjerdee/community-hierarchy/issues",
  "Encoding": "UTF-8",
  "Config/testthat/edition": "3",
  "SystemRequirements": "C++17",
  "RoxygenNote": "7.3.3",
  "Roxygen": "list(markdown = TRUE)",
  "Config/pak/sysreqs": "libglpk-dev libxml2-dev",
  "Repository": "https://maxjerdee.r-universe.dev",
  "Date/Publication": "2026-12-01 03:34:04 UTC",
  "RemoteUrl": "https://github.com/maxjerdee/community-hierarchy",
  "RemoteRef": "HEAD",
  "RemoteSha": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
  "RemoteSubdir": "R-package",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-12-01 09:19:50 UTC",
    "User": "root"
  },
  "Author": "Maximilian Jerdee [aut, cre, cph]",
  "Maintainer": "Maximilian Jerdee <mjerdee@santafe.edu>",
  "_user": "maxjerdee",
  "_type": "src",
  "_file": "communityhierarchy_0.5.0.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/37801897e6e48a0d61703a5bc78fb0e0ac0663186bc8cb020801b5833334431c",
  "_filesize": 233279,
  "_sha256": "37801897e6e48a0d61703a5bc78fb0e0ac0663186bc8cb020801b5833334431c",
  "_expires": "2027-03-11T09:27:18.000Z",
  "_created": "2026-12-01T09:19:50.000Z",
  "_published": "2026-12-02T06:12:39.042Z",
  "_upstream": "https://github.com/maxjerdee/community-hierarchy",
  "_status": "success",
  "_maintainer": {
    "name": "Maximilian Jerdee",
    "email": "mjerdee@santafe.edu"
  },
  "_jobs": [
    {
      "job": 142531298595,
      "time": 258,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "15471255455"
    },
    {
      "job": 142531298793,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "15470930624"
    },
    {
      "job": 142531298826,
      "time": 127,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "15470122237"
    },
    {
      "job": 142531298970,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "15471145424"
    },
    {
      "job": 142531298639,
      "time": 180,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "15469997313"
    },
    {
      "job": 142531298638,
      "time": 248,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "15471230539"
    },
    {
      "job": 142531298757,
      "time": 197,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "15469902445"
    },
    {
      "job": 142531298654,
      "time": 298,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "15470292268"
    },
    {
      "job": 142529197264,
      "time": 219,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "15468789637"
    },
    {
      "job": 142531298679,
      "time": 111,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "15470906124"
    },
    {
      "job": 142531298615,
      "time": 386,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "15470656393"
    },
    {
      "job": 142531298845,
      "time": 128,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "15469129398"
    },
    {
      "job": 142531298677,
      "time": 102,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "15470346785"
    },
    {
      "job": 142531298688,
      "time": 325,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "15471100842"
    },
    {
      "job": 142531298806,
      "time": 115,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "ERROR",
      "artifact": "15469866830"
    }
  ],
  "_buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278",
  "_commit": {
    "id": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
    "author": "Max Jerdee <maximilian2468@gmail.com>",
    "committer": "Max Jerdee <maximilian2468@gmail.com>",
    "message": "Model docs, weighted and multichain defaults, paper figure colours\n\n- docs/model.md: a self-contained description of every model option, with\n  links to each Config attribute and fit argument, and example outputs of\n  network_properties_df and node_properties_df\n- docs: per-argument link targets for fit and other functions\n  (docs/_ext/param_anchors.py); Config documents its options as attributes\n- weighted_SBM defaults to on when the network driving the communities has a\n  weight other than 1 (Python, R, wasm)\n- num_chains defaults to 4 (Python, R); the wasm build stays single-chain\n- num_thin removed: sweeps_per_sample sets the spacing of samples\n- network_properties rows now start num_groups, sigma_T, ICC\n- plot_node_properties and plot_adjacency_matrix share group order and colours\n- paper figures use the paper's region and field colours; the Paper figures\n  page shows the figures and links the code and data\n- tests/mathematica/sbm_mcmc.nb: the reference notebook behind the\n  Mathematica fixtures, linked from the README and left out of the sdist\n",
    "time": 1796096044
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "igraph",
      "version": ">= 1.2",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "maxjerdee",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-04",
      "n": 1
    },
    {
      "week": "2026-06",
      "n": 22
    },
    {
      "week": "2026-11",
      "n": 2
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-26",
      "n": 8
    },
    {
      "week": "2026-27",
      "n": 13
    },
    {
      "week": "2026-30",
      "n": 2
    },
    {
      "week": "2026-32",
      "n": 1
    },
    {
      "week": "2026-33",
      "n": 1
    },
    {
      "week": "2026-35",
      "n": 2
    },
    {
      "week": "2026-37",
      "n": 4
    },
    {
      "week": "2026-39",
      "n": 14
    },
    {
      "week": "2026-40",
      "n": 4
    },
    {
      "week": "2026-48",
      "n": 24
    },
    {
      "week": "2026-49",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.4.0",
      "date": "2026-11-24"
    },
    {
      "name": "v0.4.1",
      "date": "2026-11-25"
    },
    {
      "name": "v0.4.2",
      "date": "2026-11-25"
    },
    {
      "name": "v0.5.0",
      "date": "2026-11-28"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "maxjerdee",
      "count": 53,
      "uuid": 29404372
    }
  ],
  "_userbio": {
    "uuid": 29404372,
    "type": "user",
    "name": "Max Jerdee",
    "followers": 7
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/communityhierarchy"
  },
  "_devurl": "https://github.com/maxjerdee/community-hierarchy",
  "_searchresults": 2,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::rcpp_get_stack_trace()",
        "hash": "c684a9bbe15cdc52"
      },
      {
        "key": "Rcpp::rcpp_set_stack_trace()",
        "hash": "33a97ea62b293da6"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/communityhierarchy.html",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_authors": [
    {
      "name": "Maximilian Jerdee",
      "email": "mjerdee@santafe.edu",
      "role": [
        "aut",
        "cre",
        "cph"
      ]
    }
  ],
  "_exports": [
    "ch_config",
    "ch_fit",
    "coincidence_matrix",
    "consensus_partition",
    "diagnostics",
    "direction_loo",
    "direction_probabilities",
    "mdl_partition",
    "network_properties",
    "node_properties",
    "partition_ess",
    "samples"
  ],
  "_help": [
    {
      "page": "ch_config",
      "title": "Model configuration",
      "topics": [
        "ch_config"
      ]
    },
    {
      "page": "ch_fit",
      "title": "Fit the community and hierarchy model",
      "topics": [
        "ch_fit"
      ]
    },
    {
      "page": "coincidence_matrix",
      "title": "Co-membership matrix",
      "topics": [
        "coincidence_matrix"
      ]
    },
    {
      "page": "consensus_partition",
      "title": "Point estimate of the partition",
      "topics": [
        "consensus_partition"
      ]
    },
    {
      "page": "diagnostics",
      "title": "MCMC convergence diagnostics",
      "topics": [
        "diagnostics"
      ]
    },
    {
      "page": "direction_loo",
      "title": "Leave-one-out cross-validation of the edge directions",
      "topics": [
        "direction_loo"
      ]
    },
    {
      "page": "direction_probabilities",
      "title": "Predicted outcome of an interaction",
      "topics": [
        "direction_probabilities"
      ]
    },
    {
      "page": "mdl_partition",
      "title": "The sample with the shortest description length",
      "topics": [
        "mdl_partition"
      ]
    },
    {
      "page": "network_properties",
      "title": "Network-level posterior summaries",
      "topics": [
        "network_properties"
      ]
    },
    {
      "page": "node_properties",
      "title": "Node-level posterior summaries",
      "topics": [
        "node_properties"
      ]
    },
    {
      "page": "partition_ess",
      "title": "Effective sample size of the partition",
      "topics": [
        "partition_ess"
      ]
    },
    {
      "page": "samples",
      "title": "The recorded samples",
      "topics": [
        "samples"
      ]
    }
  ],
  "_readme": "https://github.com/maxjerdee/community-hierarchy/raw/HEAD/R-package/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "glue",
    "igraph",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "pkgconfig",
    "Rcpp",
    "rlang",
    "vctrs"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_score": 2.8750612633917,
  "_indexed": true,
  "_nocasepkg": "communityhierarchy",
  "_universes": [
    "maxjerdee"
  ],
  "_progress_url": "https://github.com/r-universe/maxjerdee/actions/runs/46822818914",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:24:12.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/9a41a46ce73907b3e24224e1603b8c794b6a02d06f69b7f89b1d7092277634bc",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:22:14.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/55909a0d670e17de583ead14614a5cdf2517f0b0906d82dc0f6fe5c0ed54fc68",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:22:06.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/6268ae8bf28ed5fec2e2df4324e08b04ad9e0e091f27f9ab716b54f4954868f0",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:22:13.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/11e7ba49a821e4c1cb00beac06999c2c7e0d45c87dd902fc38614b60b05dc92c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:22:45.000Z",
      "arch": "aarch64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/684d4ed4fe6afd1ccb0f65f708457a1d4138a4d5a3ee9b075427b52bb53f805a",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:23:33.000Z",
      "arch": "x86_64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/960bde38e73105616086a1aca606b626a20682d8eb1e35447f51b380d3cff42f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:22:46.000Z",
      "arch": "aarch64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/7cd23b9cba42ecbb15034f23fe6d8101c882175bf46a9f265f25a72b40cb65d3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:24:04.000Z",
      "arch": "x86_64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/ba422009ec256d30fc5a141f02f9f5297118eb2f5cdb400cbf06ba69794acdd3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:21:53.000Z",
      "arch": "emscripten",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/5f6d8e9108bade5bfe260fa687a8d63794c4ba11b3016f0958668c47ab6abba3",
      "status": "success",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:25:50.000Z",
      "arch": "aarch64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/01d01d3b9c4d63e208d6b8fed6ac3b74dc6df65603a9ccfaa09a625aca93437c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:21:09.000Z",
      "arch": "x86_64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/cdf3c4edf89cce052957e567269cf9fb8760d4a569aab4f4e4c36775d88466c2",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:21:05.000Z",
      "arch": "x86_64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/3b765e415f3ce426438e59e168493a8417a7d252f88c09864e5ad7f879519f6b",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:24:51.000Z",
      "arch": "aarch64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/39a94b4a4d39a07dc662c75ca5a50ebbdc22087feacd159ff2528543eaeb6250",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.5.0.9000",
      "date": "2026-12-01T09:21:08.000Z",
      "arch": "x86_64",
      "commit": "a7c400c0fe66b88ab7b04cd0038cd565fc2716c9",
      "fileid": "https://r2.ropensci.org/27030a0b885c0b84f1a73c0ef9f3b972e4acc7457530427bfcedb7a0c7a2a587",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/maxjerdee/actions/runs/46614816278"
    }
  ]
}