{
  "_id": "6ad48b0a8b78ae42bccc561c",
  "Package": "rankimp",
  "Title": "Consensus Ranking of Variable Importance with Uncertainty",
  "Version": "1.0.0",
  "Authors@R": "person(given = \"Agostino\",\nfamily = \"Gnasso\",\nrole = c(\"aut\", \"cre\", \"cph\"),\nemail = \"agostino.gnasso@unina.it\",\ncomment = c(ORCID = \"0000-0002-8046-3923\"))",
  "Description": "Variable importance rankings depend on the method, the\nrandom seed and the resample used to compute them. This package\ntreats every source of importance as a judge expressing a\nranking over the predictors, and synthesises those rankings\ninto a Kemeny median ranking with ties. Uncertainty about the\nconsensus is quantified through bootstrap rank confidence sets,\ntop-k probabilities and clustering of disagreeing judges.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/agostinognasso/rankimp",
  "BugReports": "https://github.com/agostinognasso/rankimp/issues",
  "VignetteBuilder": "knitr",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libicu-dev libxml2-dev",
  "Repository": "https://agostinognasso.r-universe.dev",
  "Date/Publication": "2026-09-09 09:31:33 UTC",
  "RemoteUrl": "https://github.com/agostinognasso/rankimp",
  "RemoteRef": "HEAD",
  "RemoteSha": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-18 08:56:58 UTC",
    "User": "root"
  },
  "Author": "Agostino Gnasso [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-8046-3923>)",
  "Maintainer": "Agostino Gnasso <agostino.gnasso@unina.it>",
  "_user": "agostinognasso",
  "_type": "src",
  "_file": "rankimp_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/c57c87f21de78ed019625c3e3d406b225317d018ea75df2eea6c4c8b0f1b1e23",
  "_filesize": 687308,
  "_sha256": "c57c87f21de78ed019625c3e3d406b225317d018ea75df2eea6c4c8b0f1b1e23",
  "_expires": "2027-01-26T09:02:00.000Z",
  "_created": "2026-10-18T08:56:58.000Z",
  "_published": "2026-10-18T09:02:02.675Z",
  "_buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/39113155482",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117634234032,
      "time": 228,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12131841167"
    },
    {
      "job": 117634234189,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12131067460"
    },
    {
      "job": 117634234078,
      "time": 256,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12131856187"
    },
    {
      "job": 117634234038,
      "time": 213,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12131631610"
    },
    {
      "job": 117633429184,
      "time": 249,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12131312544"
    },
    {
      "job": 117634234057,
      "time": 124,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12131870369"
    },
    {
      "job": 117634234131,
      "time": 144,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12131148372"
    },
    {
      "job": 117634234170,
      "time": 142,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12130923147"
    },
    {
      "job": 117634234072,
      "time": 152,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12131905788"
    }
  ],
  "_upstream": "https://github.com/agostinognasso/rankimp",
  "_commit": {
    "id": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
    "author": "Agostino Gnasso <agostino.gnasso@unina.it>",
    "committer": "Agostino Gnasso <agostino.gnasso@unina.it>",
    "message": "Record the win-builder result, and quote the word the check actually flagged\n",
    "time": 1788946293
  },
  "_maintainer": {
    "name": "Agostino Gnasso",
    "email": "agostino.gnasso@unina.it",
    "login": "agostinognasso",
    "description": "Postdoc in Statistics @UniFedericoII. Focusing on statistics, explainable machine learning (XAI), and tree-based ensemble methods.",
    "uuid": 115216742,
    "orcid": "0000-0002-8046-3923"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "ConsRank",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "cluster",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "kernelshap",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "randomForest",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rsample",
      "role": "Suggests"
    },
    {
      "package": "stabm",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.1.7",
      "role": "Suggests"
    }
  ],
  "_owner": "agostinognasso",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-28",
      "n": 5
    },
    {
      "week": "2026-36",
      "n": 14
    },
    {
      "week": "2026-37",
      "n": 12
    }
  ],
  "_tags": [
    {
      "name": "v1.0.0",
      "date": "2026-09-08"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "agostinognasso",
      "count": 31,
      "uuid": 115216742
    }
  ],
  "_userbio": {
    "uuid": 115216742,
    "type": "user",
    "name": "Agostino Gnasso",
    "followers": 1,
    "description": "Postdoc in Statistics @UniFedericoII. Focusing on statistics, explainable machine learning (XAI), and tree-based ensemble methods."
  },
  "_downloads": {
    "count": 420,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rankimp"
  },
  "_devurl": "https://github.com/agostinognasso/rankimp",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/rankimp.html",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/agostinognasso/rankimp",
  "_realowner": "agostinognasso",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-09-17"
    }
  ],
  "_exports": [
    "autoplot",
    "consensus_rank",
    "importance_judges",
    "importance_loco",
    "importance_mdi",
    "importance_permutation",
    "importance_shap",
    "importance_to_rank",
    "item_consensus",
    "judge_clusters",
    "judge_weights",
    "prob_topk",
    "rank_confsets",
    "rank_select"
  ],
  "_datasets": [
    {
      "name": "applications",
      "title": "Synthetic loan applications, with the right answer attached",
      "object": "applications",
      "class": [
        "data.frame"
      ],
      "fields": [
        "income",
        "bureau_score",
        "debt_ratio",
        "employment_yrs",
        "prior_arrears",
        "credit_lines",
        "age",
        "default"
      ],
      "rows": 800,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "applications",
      "title": "Synthetic loan applications, with the right answer attached",
      "topics": [
        "applications"
      ]
    },
    {
      "page": "autoplot.consensus_rank",
      "title": "Visualise a consensus ranking against the panel it came from",
      "topics": [
        "autoplot.consensus_rank"
      ]
    },
    {
      "page": "autoplot.judge_clusters",
      "title": "Visualise the disagreement between judges",
      "topics": [
        "autoplot.judge_clusters"
      ]
    },
    {
      "page": "autoplot.rank_confsets",
      "title": "Visualise the rank confidence sets",
      "topics": [
        "autoplot.rank_confsets"
      ]
    },
    {
      "page": "consensus_rank",
      "title": "Kemeny consensus ranking of variable importance",
      "topics": [
        "consensus_rank",
        "print.consensus_rank"
      ]
    },
    {
      "page": "importance_backends",
      "title": "Importance backends",
      "topics": [
        "importance_backends",
        "importance_loco",
        "importance_mdi",
        "importance_permutation",
        "importance_shap"
      ]
    },
    {
      "page": "importance_judges",
      "title": "Assemble the panel of judges",
      "topics": [
        "importance_judges",
        "print.judges"
      ]
    },
    {
      "page": "importance_to_rank",
      "title": "Turn importance scores into rankings",
      "topics": [
        "importance_to_rank"
      ]
    },
    {
      "page": "item_consensus",
      "title": "Agreement of each judge with the consensus",
      "topics": [
        "item_consensus"
      ]
    },
    {
      "page": "judge_clusters",
      "title": "Do the judges agree?",
      "topics": [
        "judge_clusters",
        "print.judge_clusters"
      ]
    },
    {
      "page": "judge_weights",
      "title": "Weights for the panel of judges",
      "topics": [
        "judge_weights"
      ]
    },
    {
      "page": "prob_topk",
      "title": "Probability that a variable lands in the top k",
      "topics": [
        "prob_topk"
      ]
    },
    {
      "page": "rank_confsets",
      "title": "Bootstrap confidence sets for the consensus ranking",
      "topics": [
        "print.rank_confsets",
        "rank_confsets"
      ]
    },
    {
      "page": "rank_select",
      "title": "Select variables with a rank guarantee",
      "topics": [
        "rank_select"
      ]
    }
  ],
  "_readme": "https://github.com/agostinognasso/rankimp/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "ConsRank",
    "cpp11",
    "data.table",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "gtools",
    "isoband",
    "jsonlite",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "proxy",
    "purrr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "rlang",
    "rlist",
    "S7",
    "scales",
    "stringi",
    "stringr",
    "tibble",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "XML",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "rankimp-intro.Rmd",
      "filename": "rankimp-intro.html",
      "title": "Consensus ranking of variable importance",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The consensus",
        "Starting from importance scores",
        "Building the panel from fitted models",
        "Ties are information",
        "Not every judge deserves an equal vote",
        "What comes next"
      ],
      "created": "2026-07-09 21:44:36",
      "modified": "2026-09-08 10:28:06",
      "commits": 3
    },
    {
      "source": "reference.Rmd",
      "filename": "reference.html",
      "title": "Every function, and when you want it",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The pipeline",
        "Which function do I want?",
        "Getting importance out of a model",
        "Turning scores into rankings",
        "Building a panel",
        "Weighting the judges",
        "The consensus",
        "Asking who disagrees",
        "Uncertainty",
        "Turning uncertainty into a decision",
        "Plots",
        "Under the hood",
        "Where to go next"
      ],
      "created": "2026-09-08 10:28:06",
      "modified": "2026-09-08 10:28:06",
      "commits": 1
    },
    {
      "source": "stability.Rmd",
      "filename": "stability.html",
      "title": "How stable is a variable importance ranking?",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A panel that does not quite agree",
        "Rank confidence sets",
        "Probability of membership in the top k",
        "Selection with a guarantee",
        "Resampling the data instead of the panel",
        "How much is a 95% set worth?",
        "A note on cost",
        "Related work"
      ],
      "created": "2026-07-09 21:44:36",
      "modified": "2026-09-08 15:29:59",
      "commits": 7
    },
    {
      "source": "credit-scoring.Rmd",
      "filename": "credit-scoring.html",
      "title": "Robustly important variables in credit scoring",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The portfolio",
        "The panel",
        "What the panel agrees on",
        "What survives resampling",
        "Where the disagreement lives",
        "What a consensus cannot do for you"
      ],
      "created": "2026-07-09 21:44:36",
      "modified": "2026-09-08 15:29:59",
      "commits": 6
    },
    {
      "source": "against-set-stability.Rmd",
      "filename": "against-set-stability.html",
      "title": "Set stability is not rank stability",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Two panels",
        "What set stability sees",
        "What rank consensus sees",
        "Where the two agree",
        "The honest summary"
      ],
      "created": "2026-07-10 07:41:23",
      "modified": "2026-09-08 10:28:06",
      "commits": 2
    },
    {
      "source": "theory.Rmd",
      "filename": "theory.html",
      "title": "The theory the package rests on",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The problem",
        "Why rankings and not scores",
        "The Kemeny median",
        "Ties are part of the answer",
        "Measuring agreement",
        "Uncertainty about a rank",
        "What the intervals look like, and why",
        "Testing whether a panel is one population",
        "What none of this protects you from",
        "Sources"
      ],
      "created": "2026-09-08 10:28:06",
      "modified": "2026-09-08 10:28:06",
      "commits": 1
    },
    {
      "source": "method-disagreement.Rmd",
      "filename": "method-disagreement.html",
      "title": "When XAI methods disagree",
      "engine": "knitr::rmarkdown",
      "headings": [
        "A dataset built to cause it",
        "Building the panel",
        "The two methods do disagree",
        "But the rankings agree",
        "Is there one panel, or two?",
        "How often does it divide?",
        "What a rank-based diagnostic can and cannot see"
      ],
      "created": "2026-07-09 21:44:36",
      "modified": "2026-09-08 10:28:06",
      "commits": 4
    }
  ],
  "_score": 5.19728055812562,
  "_indexed": true,
  "_nocasepkg": "rankimp",
  "_universes": [
    "agostinognasso"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-18T08:59:56.000Z",
      "distro": "resolute",
      "commit": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
      "fileid": "https://r2.ropensci.org/ff276f34d273352eccaa29c16cd79c998cfccbe44367e7639b7ba9165d8c6276",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/39113155482"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-10-18T08:59:05.000Z",
      "distro": "resolute",
      "commit": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
      "fileid": "https://r2.ropensci.org/7dad9e575284d3b4852dbdb1f0fa26c5c79c9d9fb48f850f4aa485a4ffa62137",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/39113155482"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-18T09:00:02.000Z",
      "commit": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
      "fileid": "https://r2.ropensci.org/61fa11a88562dee4f7e5b90bfc17a175b07289ad40e06f18db39f514adefce31",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/39113155482"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-10-18T08:59:19.000Z",
      "commit": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
      "fileid": "https://r2.ropensci.org/b586daa30eaf976ab498848d3dd63b7a092129ab7f1f09b38622a41c3a396b1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/39113155482"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-10-18T08:59:22.000Z",
      "commit": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
      "fileid": "https://r2.ropensci.org/b3a943667b00adb5fde2f48dc205d89cfd3039648699c78f892295f0cef08858",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/39113155482"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-18T08:58:16.000Z",
      "commit": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
      "fileid": "https://r2.ropensci.org/e3b352f21c306906f60ea9b38d62365ea1b7aea90981bf3e759e25228c4a3bd9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/39113155482"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-18T08:58:17.000Z",
      "commit": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
      "fileid": "https://r2.ropensci.org/ffae5f00ac50573e803f946fc023fd102681d6c3e95c8faafe9ac00aa7829512",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/39113155482"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-10-18T08:58:29.000Z",
      "commit": "5f77f2a4a9f33fabd29e24fc07fc0365cbf5469a",
      "fileid": "https://r2.ropensci.org/87e82090b2781410f6c2029e41462d7f61e9cf455f352c0d1a9974e094ab612a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agostinognasso/actions/runs/39113155482"
    }
  ]
}