{
  "_id": "6a105bb8acfb0bcc41ca3eea",
  "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://koalaverse.r-universe.dev",
  "Date/Publication": "2025-03-03 11:15:55 UTC",
  "RemoteUrl": "https://github.com/koalaverse/sure",
  "RemoteRef": "HEAD",
  "RemoteSha": "fd2b5a213211d95912de56f250904dc7f140b85d",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-09 05:30:11 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": "5cf9d48c0003782406c03376b042d5f0",
  "_user": "koalaverse",
  "_type": "src",
  "_file": "sure_0.2.2.9000.tar.gz",
  "_fileid": "6bd2f94b8b093367284f95b76425ac91d236e063ad8e6dc878de013efdc199a7",
  "_filesize": 2661106,
  "_sha256": "6bd2f94b8b093367284f95b76425ac91d236e063ad8e6dc878de013efdc199a7",
  "_created": "2026-05-09T05:30:11.000Z",
  "_published": "2026-05-22T13:35:52.646Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77390477025,
      "time": 143,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6893228988"
    },
    {
      "job": 77390476981,
      "time": 135,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6893227470"
    },
    {
      "job": 77390477473,
      "time": 182,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6893229169"
    },
    {
      "job": 77390477456,
      "time": 197,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6893230706"
    },
    {
      "job": 77390476500,
      "time": 191,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "6893212273"
    },
    {
      "job": 77390476849,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7161818056"
    },
    {
      "job": 77390477484,
      "time": 103,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "6893224494"
    },
    {
      "job": 77390477604,
      "time": 85,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "6893222072"
    },
    {
      "job": 77390477672,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "6893222753"
    }
  ],
  "_buildurl": "https://github.com/r-universe/koalaverse/actions/runs/25592878007",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/koalaverse/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",
    "twitter": "@bgreenwell8",
    "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": "koalaverse",
  "_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": 36773814,
    "type": "organization",
    "name": "koalaverse",
    "description": "A collection of koality code, software packages, and educational material for data science."
  },
  "_downloads": {
    "count": 756,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/sure"
  },
  "_devurl": "https://github.com/koalaverse/sure",
  "_searchresults": 75,
  "_rbuild": "4.6.0",
  "_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/koalaverse/sure",
  "_realowner": "koalaverse",
  "_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/koalaverse/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.431363764158988,
  "_indexed": true,
  "_nocasepkg": "sure",
  "_universes": [
    "koalaverse",
    "bgreenwell"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-05-09T05:32:29.000Z",
      "distro": "noble",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "dc67eb0997964170fa68f749ecd665cb89b42ffa1760b157c74fe5ab8d777414",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/25592878007"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.2.9000",
      "date": "2026-05-09T05:32:18.000Z",
      "distro": "noble",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "87a0859be8585c986ff5e079c5b7182ebaea673136cf2da85dcdc2309ea9defb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/25592878007"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-05-09T05:32:38.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "a68415c6de399b1a98472db9b1cdde021014b813109651e4f10e655c2dafcfbb",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/25592878007"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.2.9000",
      "date": "2026-05-09T05:32:37.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "2b27cdd52a7ba6e8562e978da37a47542f9991bf60474c316a0994913864d118",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/25592878007"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-05-09T05:31:45.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "b04fcab25627f299bc8af0fddb91333721061b57fab04c80554e0deb609df567",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/25592878007"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-05-09T05:31:24.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "e57413f14c4f844d6b940f25d3fd83b6b8b132679c4f930d7b1e17976232db63",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/25592878007"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.2.9000",
      "date": "2026-05-09T05:31:27.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "e8ab0be5dfaa92617d3b73d6e9b8bc7f5775cb81282bbe29130bcc50a0176624",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/25592878007"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.2.9000",
      "date": "2026-05-22T13:35:35.000Z",
      "commit": "fd2b5a213211d95912de56f250904dc7f140b85d",
      "fileid": "03b70d0ad4ddf53e49516b7a6237dbd1cb20b619e36b0512c0848bf6ec653d51",
      "status": "success",
      "buildurl": "https://github.com/r-universe/koalaverse/actions/runs/25592878007"
    }
  ]
}