{
  "_id": "6ac4ca8ef511ae58c09a166a",
  "Package": "fairGNN",
  "Title": "Fairness-Aware Gated Neural Networks",
  "Version": "0.1.0",
  "Authors@R": "person(\"Rhys\", \"Holland\", , \"rhys.holland@icloud.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Tools for training and analysing fairness-aware gated\nneural networks for subgroup-aware prediction and\ninterpretation in clinical datasets. Methods draw on prior work\nin mixture-of-experts neural networks by Jordan and Jacobs\n(1994) <doi:10.1007/978-1-4471-2097-1_113>, fairness-aware\nlearning by Hardt, Price, and Srebro (2016)\n<doi:10.48550/arXiv.1610.02413>, and personalised treatment\nprediction for depression by Iniesta, Stahl, and McGuffin\n(2016) <doi:10.1016/j.jpsychires.2016.03.016>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.3",
  "VignetteBuilder": "knitr",
  "URL": "https://github.com/rhysholland/fairGNN",
  "BugReports": "https://github.com/rhysholland/fairGNN/issues",
  "SystemRequirements": "Optional 'LibTorch' backend; install via\ntorch::install_torch().",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-06 10:13:30 UTC",
    "User": "root"
  },
  "Author": "Rhys Holland [aut, cre]",
  "Maintainer": "Rhys Holland <rhys.holland@icloud.com>",
  "Config/pak/sysreqs": "libicu-dev libx11-dev",
  "Repository": "https://rhysholland.r-universe.dev",
  "Date/Publication": "2025-10-26 20:33:49 UTC",
  "RemoteUrl": "https://github.com/cran/fairGNN",
  "RemoteRef": "HEAD",
  "RemoteSha": "c9ca1a118f20fea0af045321209166deed61d6f1",
  "_user": "rhysholland",
  "_type": "src",
  "_file": "fairGNN_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/0b6fab11439075a9194fd5778923fc4f9e0c186a96a5311746648f25d05bc0d4",
  "_filesize": 1433532,
  "_sha256": "0b6fab11439075a9194fd5778923fc4f9e0c186a96a5311746648f25d05bc0d4",
  "_expires": "2027-01-14T10:16:43.000Z",
  "_created": "2026-10-06T10:13:30.000Z",
  "_published": "2026-10-06T10:16:46.387Z",
  "_jobs": [
    {
      "job": 112218646221,
      "time": 149,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11403864402"
    },
    {
      "job": 112218646247,
      "time": 141,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11404383176"
    },
    {
      "job": 112218646208,
      "time": 91,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11404442830"
    },
    {
      "job": 112218646212,
      "time": 122,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11404238538"
    },
    {
      "job": 112217052097,
      "time": 257,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11403988016"
    },
    {
      "job": 112218646058,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11404103626"
    },
    {
      "job": 112218646285,
      "time": 95,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11404522592"
    },
    {
      "job": 112218646217,
      "time": 94,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11404273378"
    },
    {
      "job": 112218646279,
      "time": 88,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11403354202"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/rhysholland/actions/runs/37447854233",
  "_status": "success",
  "_upstream": "https://github.com/cran/fairGNN",
  "_commit": {
    "id": "c9ca1a118f20fea0af045321209166deed61d6f1",
    "author": "Rhys Holland <rhys.holland@icloud.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.1.0\n",
    "time": 1761510829
  },
  "_maintainer": {
    "name": "Rhys Holland",
    "email": "rhys.holland@icloud.com",
    "login": "rhysholland",
    "description": "",
    "uuid": 159461101
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "readr",
      "role": "Imports"
    },
    {
      "package": "pROC",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "purrr",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "ggalluvial",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "torch",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "readxl",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.1.0",
      "date": "2025-10-26"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "rhysholland",
      "count": 1,
      "uuid": 159461101
    }
  ],
  "_userbio": {
    "uuid": 159461101,
    "type": "user",
    "name": "rhysholland",
    "followers": 0
  },
  "_downloads": {
    "count": 324,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/fairGNN"
  },
  "_devurl": "https://github.com/rhysholland/fairgnn",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/fairGNN.html",
    "extra/manual.pdf",
    "LICENSE"
  ],
  "_realowner": "rhysholland",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2025-10-26"
    }
  ],
  "_exports": [
    "analyse_experts",
    "analyse_gnn_results",
    "analyse_gnn_results_plus",
    "plot_sankey",
    "prepare_data",
    "train_gnn"
  ],
  "_help": [
    {
      "page": "analyse_experts",
      "title": "Analyse and Visualise Expert Network Specialisation",
      "topics": [
        "analyse_experts"
      ]
    },
    {
      "page": "analyse_gnn_results",
      "title": "Analyse and Visualize GNN Results",
      "topics": [
        "analyse_gnn_results"
      ]
    },
    {
      "page": "analyse_gnn_results_plus",
      "title": "Analyse GNN Results (+ Gate Summary Tables)",
      "topics": [
        "analyse_gnn_results_plus"
      ]
    },
    {
      "page": "plot_sankey",
      "title": "Create a Sankey Plot to Visualise Patient Routing",
      "topics": [
        "plot_sankey"
      ]
    },
    {
      "page": "prepare_data",
      "title": "Prepare Data for GNN Training",
      "topics": [
        "prepare_data"
      ]
    },
    {
      "page": "train_gnn",
      "title": "Train and Evaluate the Gated Neural Network (robust splits + safe ROC)",
      "topics": [
        "train_gnn"
      ]
    }
  ],
  "_rundeps": [
    "bit",
    "bit64",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "dplyr",
    "farver",
    "generics",
    "ggalluvial",
    "ggplot2",
    "glue",
    "gtable",
    "hms",
    "isoband",
    "labeling",
    "lazyeval",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "prettyunits",
    "pROC",
    "progress",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "readr",
    "rlang",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "introduction-to-fairGNN.Rmd",
      "filename": "introduction-to-fairGNN.html",
      "title": "Introduction to fairGNN",
      "engine": "knitr::rmarkdown",
      "headings": [
        "1. Introduction",
        "2. The fairGNN Workflow",
        "2.1. Loading Data",
        "2.2. Step 1: Prepare the Data",
        "2.3. Step 2: Load Pre-computed Model Results",
        "2.4. Step 3: Analyse Basic Performance and Gates",
        "2.5. Step 4: Analyse Expert Specialisation",
        "2.6. Step 5: Visualise Patient Routing with a Sankey Plot"
      ],
      "created": "2025-10-26 20:33:49",
      "modified": "2025-10-26 20:33:49",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "fairgnn",
  "_universes": [
    "rhysholland"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-06T10:15:47.000Z",
      "distro": "resolute",
      "commit": "c9ca1a118f20fea0af045321209166deed61d6f1",
      "fileid": "https://r2.ropensci.org/b3ecb964b6a18b3138e18f51110fc1c03fa881f2c857b772f2d307fc82caa435",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rhysholland/actions/runs/37447854233"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-10-06T10:15:42.000Z",
      "distro": "resolute",
      "commit": "c9ca1a118f20fea0af045321209166deed61d6f1",
      "fileid": "https://r2.ropensci.org/f3938fb7e7458c195194f31d8486c93fd4d705d79d5b65e48600bde06135fd7f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rhysholland/actions/runs/37447854233"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-06T10:15:04.000Z",
      "commit": "c9ca1a118f20fea0af045321209166deed61d6f1",
      "fileid": "https://r2.ropensci.org/bf788b356dff278a117cf2f0e4dbacc5de5eedce3f6a60dda4d16ecf89fc7fd3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rhysholland/actions/runs/37447854233"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-10-06T10:15:26.000Z",
      "commit": "c9ca1a118f20fea0af045321209166deed61d6f1",
      "fileid": "https://r2.ropensci.org/fa6f5364ff2af89117ebd2a7c83cb0cc881fe06ee7d215ca2525e7ba61147e3d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rhysholland/actions/runs/37447854233"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-10-06T10:15:24.000Z",
      "commit": "c9ca1a118f20fea0af045321209166deed61d6f1",
      "fileid": "https://r2.ropensci.org/9386ed16033a0f01fbcaa85e1f247fbb6b0a56a227941407102f444b6bbbe027",
      "status": "success",
      "buildurl": "https://github.com/r-universe/rhysholland/actions/runs/37447854233"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-06T10:14:50.000Z",
      "commit": "c9ca1a118f20fea0af045321209166deed61d6f1",
      "fileid": "https://r2.ropensci.org/f79c41069f3e10dde8a2d96de4d879f6446f49d80657e519913962771ef2d10a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rhysholland/actions/runs/37447854233"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-06T10:14:57.000Z",
      "commit": "c9ca1a118f20fea0af045321209166deed61d6f1",
      "fileid": "https://r2.ropensci.org/3d9a38f78f5740f1ea71f44fb9a38b2816f28c16915f3984deb795ba9217164f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rhysholland/actions/runs/37447854233"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-10-06T10:14:40.000Z",
      "commit": "c9ca1a118f20fea0af045321209166deed61d6f1",
      "fileid": "https://r2.ropensci.org/8ddd40b56a3463b0e96a470902060f436e12d864350fa14cafc2b28af7ae812f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/rhysholland/actions/runs/37447854233"
    }
  ]
}