{
  "_id": "6a3fa125a319ef941449c333",
  "Package": "sure",
  "Type": "Package",
  "Title": "Surrogate Residuals for Ordinal and General Regression Models",
  "Description": "An implementation of the surrogate approach to residuals\nand diagnostics for ordinal and general regression models; for\ndetails, see Liu and Zhang (2017,\n<doi:https://doi.org/10.1080/01621459.2017.1292915>) and\nGreenwell et al. (2017,\n<https://journal.r-project.org/archive/2018/RJ-2018-004/index.html>).\nThese residuals can be used to construct standard residual\nplots for model diagnostics (e.g., residual-vs-fitted value\nplots, residual-vs-covariate plots, Q-Q plots, etc.). The\npackage also provides an 'autoplot' function for producing\nstandard diagnostic plots using 'ggplot2' graphics. The package\ncurrently supports cumulative link models from packages 'MASS',\n'ordinal', 'rms', and 'VGAM'. Support for binary regression\nmodels using the standard 'glm' function is also available.",
  "Version": "0.2.2.9000",
  "Authors@R": "c(\nperson(\"Brandon\", \"Greenwell\",\nemail = \"greenwell.brandon@gmail.com\",\nrole = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-8120-0084\")),\nperson(\"Brad\", \"Boehmke\",\nemail = \"bradleyboehmke@gmail.com\",\nrole = c(\"aut\"),\ncomment = c(ORCID = \"0000-0002-3611-8516\")),\nperson(\"Andrew\", \"McCarthy\",\nemail = \"andrew.mccarthy@theperducogroup.com\",\nrole = c(\"aut\")),\nperson(\"Dungang\", \"Liu\",\nemail = \"dungang.liu@uc.edu\",\nrole = c(\"ctb\"))\n)",
  "License": "GPL (>= 2)",
  "URL": "https://github.com/koalaverse/sure",
  "BugReports": "https://github.com/koalaverse/sure/issues",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.0.2",
  "VignetteBuilder": "knitr",
  "Repository": "https://bgreenwell.r-universe.dev",
  "Date/Publication": "2025-03-03 11:15:55 UTC",
  "RemoteUrl": "https://github.com/bgreenwell/sure",
  "RemoteRef": "HEAD",
  "RemoteSha": "fd2b5a213211d95912de56f250904dc7f140b85d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-27 10:05:15 UTC",
    "User": "root"
  },
  "Author": "Brandon Greenwell [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-8120-0084>),\nBrad Boehmke [aut] (ORCID: <https://orcid.org/0000-0002-3611-8516>),\nAndrew McCarthy [aut],\nDungang Liu [ctb]",
  "Maintainer": "Brandon Greenwell <greenwell.brandon@gmail.com>",
  "MD5sum": "7583dcd42176dd30b81010b53827164c",
  "_user": "bgreenwell",
  "_type": "src",
  "_file": "sure_0.2.2.9000.tar.gz",
  "_fileid": "0f401b1f85782afb6d61dd3f013106281e8b021a756e7600706529f350087912",
  "_filesize": 2661232,
  "_sha256": "0f401b1f85782afb6d61dd3f013106281e8b021a756e7600706529f350087912",
  "_created": "2026-06-27T10:05:15.000Z",
  "_published": "2026-06-27T10:08:37.372Z",
  "_distro": "resolute",
  "_jobs": [
    {
      "job": 83810053445,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7923512315"
    },
    {
      "job": 83810053449,
      "time": 157,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "7923511657"
    },
    {
      "job": 83810053436,
      "time": 82,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7923503460"
    },
    {
      "job": 83810053440,
      "time": 94,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "7923504609"
    },
    {
      "job": 83809827868,
      "time": 225,
      "config": "source",
      "r": "4.6.1",
      "check": "ERROR",
      "artifact": "7923493961"
    },
    {
      "job": 83810053435,
      "time": 119,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7923507448"
    },
    {
      "job": 83810053457,
      "time": 144,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7923510213"
    },
    {
      "job": 83810053453,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7923503443"
    },
    {
      "job": 83810053450,
      "time": 108,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "WARNING",
      "artifact": "7923506306"
    }
  ],
  "_buildurl": "https://github.com/r-universe/bgreenwell/actions/runs/28285944383",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/bgreenwell/sure",
  "_commit": {
    "id": "fd2b5a213211d95912de56f250904dc7f140b85d",
    "author": "Brandon Greenwell <greenwell.brandon@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #42 from riccim94/patch-3\n\nUpdate DESCRIPTION",
    "time": 1741000555
  },
  "_maintainer": {
    "name": "Brandon Greenwell",
    "email": "greenwell.brandon@gmail.com",
    "login": "bgreenwell",
    "linkedin": "in/brandon-greenwell-ph-d-90310b94",
    "twitter": "@bgreenwell8",
    "description": "Director, Responsible AI at 84.51° and Adjunct Instructor at the University of Cincinnati.",
    "uuid": 3777755,
    "orcid": "0000-0002-8120-0084"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.1",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "version": ">= 2.2.1",
      "role": "Imports"
    },
    {
      "package": "goftest",
      "role": "Imports"
    },
    {
      "package": "gridExtra",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "ordinal",
      "role": "Suggests"
    },
    {
      "package": "rms",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "VGAM",
      "version": ">= 1.1.1",
      "role": "Suggests"
    },
    {
      "package": "mgcv",
      "role": "Suggests"
    },
    {
      "package": "PResiduals",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "bgreenwell",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "categorical-data",
    "diagnostics",
    "ordinal-regression",
    "residuals"
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "bgreenwell",
      "count": 64,
      "uuid": 3777755
    },
    {
      "user": "bradleyboehmke",
      "count": 13,
      "uuid": 6753598
    },
    {
      "user": "riccim94",
      "count": 3,
      "uuid": 62140760
    },
    {
      "user": "brandongreenwell-8451",
      "count": 1,
      "uuid": 103137323
    }
  ],
  "_userbio": {
    "uuid": 3777755,
    "type": "user",
    "name": "Brandon Greenwell",
    "followers": 400,
    "description": "Director, Responsible AI at 84.51° and Adjunct Instructor at the University of Cincinnati."
  },
  "_downloads": {
    "count": 736,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sure"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/koalaverse/sure",
  "_searchresults": 84,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/sure.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/bgreenwell/sure",
  "_realowner": "bgreenwell",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2017-08-20"
    },
    {
      "version": "0.2.0",
      "date": "2017-09-19"
    }
  ],
  "_exports": [
    "autoplot.clm",
    "autoplot.glm",
    "autoplot.lrm",
    "autoplot.orm",
    "autoplot.polr",
    "autoplot.resid",
    "autoplot.vglm",
    "gof",
    "grid.arrange",
    "resids",
    "surrogate"
  ],
  "_datasets": [
    {
      "name": "df1",
      "title": "Simulated quadratic data",
      "object": "df1",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "df2",
      "title": "Simulated heteroscedastic data",
      "object": "df2",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "df3",
      "title": "Simulated Gumbel data",
      "object": "df3",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "df4",
      "title": "Simulated proportionality data",
      "object": "df4",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x"
      ],
      "rows": 4000,
      "table": true,
      "tojson": true
    },
    {
      "name": "df5",
      "title": "Simulated interaction data",
      "object": "df5",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x1",
        "x2"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "autoplot.resid",
      "title": "Residual plots",
      "topics": [
        "autoplot.clm",
        "autoplot.glm",
        "autoplot.lrm",
        "autoplot.orm",
        "autoplot.polr",
        "autoplot.resid",
        "autoplot.vglm"
      ]
    },
    {
      "page": "df1",
      "title": "Simulated quadratic data",
      "topics": [
        "df1"
      ]
    },
    {
      "page": "df2",
      "title": "Simulated heteroscedastic data",
      "topics": [
        "df2"
      ]
    },
    {
      "page": "df3",
      "title": "Simulated Gumbel data",
      "topics": [
        "df3"
      ]
    },
    {
      "page": "df4",
      "title": "Simulated proportionality data",
      "topics": [
        "df4"
      ]
    },
    {
      "page": "df5",
      "title": "Simulated interaction data",
      "topics": [
        "df5"
      ]
    },
    {
      "page": "gof",
      "title": "Goodness-of-Fit Simulation",
      "topics": [
        "gof",
        "gof.default",
        "plot.gof"
      ]
    },
    {
      "page": "resids",
      "title": "Surrogate residuals",
      "topics": [
        "resids"
      ]
    },
    {
      "page": "sure",
      "title": "sure: An R package for constructing surrogate-based residuals and diagnostics for ordinal and general regression models.",
      "topics": [
        "sure"
      ]
    },
    {
      "page": "surrogate",
      "title": "Surrogate response",
      "topics": [
        "surrogate"
      ]
    }
  ],
  "_readme": "https://github.com/bgreenwell/sure/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "farver",
    "ggplot2",
    "glue",
    "goftest",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 5.480581786829169,
  "_indexed": true,
  "_nocasepkg": "sure",
  "_universes": [
    "bgreenwell",
    "koalaverse"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-06-27T10:07:52.000Z",
      "distro": "resolute",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "57f29be50a0b232d8a1b9cf4a481a0a7fb333f02a1931125f5b787d67dd04992",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bgreenwell/actions/runs/28285944383"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-06-27T10:07:47.000Z",
      "distro": "resolute",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "ec343d38f2c56ee1e100dffc9a6f37bbb0483c475ac880f1282f1aa5982f376a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bgreenwell/actions/runs/28285944383"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-06-27T10:06:41.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "3135f2acfb40f342a7003fc635284eef4df7d59d2aabe2a3b058a30542a229ed",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bgreenwell/actions/runs/28285944383"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-06-27T10:06:48.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "c735b0ceb768d59bdff343a2424c1827cadd23c64050016e7dae92a1fcdd11c7",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bgreenwell/actions/runs/28285944383"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.9000",
      "date": "2026-06-27T10:07:33.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "1fd979fbf3cce9317cabf0912fead06804c051717b9f3d7f41aeb5305993b678",
      "status": "success",
      "buildurl": "https://github.com/r-universe/bgreenwell/actions/runs/28285944383"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-06-27T10:07:30.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "3b2684d1f421eed023cdaa56220ec238bb2887a1baa99ace5268270746165909",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bgreenwell/actions/runs/28285944383"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-06-27T10:06:28.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "5f5f3c9fc75ed5c71b53319e2f402219f7bc87a96867aa2718bc58601c94727a",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bgreenwell/actions/runs/28285944383"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-06-27T10:06:52.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "924a5d24ac22027068ff6f259f3b03770d54a3ce04478dc4460f6c049102ee81",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/bgreenwell/actions/runs/28285944383"
    }
  ]
}