{
  "_id": "6af809a3be2268deb4a40222",
  "Package": "winnify",
  "Type": "Package",
  "Title": "Visual Summaries and Wrappers for Estimating the Win Ratio and\nRelated Measures",
  "Version": "1.0.0",
  "Authors@R": "c(\nperson(\"Hannah\",\"Johns\",\nrole=c(\"aut\",\"cre\"),\nemail=\"dr.hannah.johns@gmail.com\",\ncomment=c(ORCID=\"0000-0003-2135-0504\")\n),\nperson(\"Nathalie\",\"Launder\",\nrole=c(\"aut\"),\ncomment=c(ORCID=\"0000-0002-7898-0083\")\n),\nperson(\"Leonid\",\"Churilov\",\nrole=c(\"aut\"),\ncomment=c(ORCID=\"0000-0002-9807-6606\")\n)\n)",
  "Maintainer": "Hannah Johns <dr.hannah.johns@gmail.com>",
  "Description": "Facilitates analysis of Generalised Pairwise Comparisons\nwith Prioritised Outcomes (e.g. Win Ratio, Win Odds). Includes\na wrapper function that enables rank-based Desirability of\nOutcome Ranking analyses with any existing ordinal analysis\npackage (e.g. probabilistic index models provided by R package\n`pim') plus automated input processing and a formula-based\ninterface for estimating win statistics (using R package\n`WINS') without needing to restructure or rename the data. In\nboth cases, supports improved interpretation of prioritised\noutcomes analyses using the approach proposed by Johns et al.\n(2026) <doi:10.1177/17474930261475853> where the treatment\neffect is estimated separately for each outcome plus\ncumulatively as they are added to the outcome prioritisation.\nThe contribution of each outcome to the overall effect size is\nthen visualised with a supplied plotting function.",
  "License": "GPL (>= 2.0)",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Config/roxygen2/version": "8.1.0",
  "Config/testthat/edition": "3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-14 07:07:52 UTC",
    "User": "root"
  },
  "Author": "Hannah Johns [aut, cre] (ORCID:\n<https://orcid.org/0000-0003-2135-0504>), Nathalie Launder\n[aut] (ORCID: <https://orcid.org/0000-0002-7898-0083>), Leonid\nChurilov [aut] (ORCID: <https://orcid.org/0000-0002-9807-6606>)",
  "Repository": "https://cran.r-universe.dev",
  "Date/Publication": "2026-11-13 23:10:02 UTC",
  "RemoteUrl": "https://github.com/cran/winnify",
  "RemoteRef": "HEAD",
  "RemoteSha": "d964444352fcc80bbaefc757f1e391e238126377",
  "_user": "cran",
  "_type": "src",
  "_file": "winnify_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/cf078c9dccf1f722e9aae93a6b46ce462ec380eea0fe9e6f5c6daffd1549bea8",
  "_filesize": 247562,
  "_sha256": "cf078c9dccf1f722e9aae93a6b46ce462ec380eea0fe9e6f5c6daffd1549bea8",
  "_expires": "2027-02-22T07:11:29.000Z",
  "_created": "2026-11-14T07:07:52.000Z",
  "_published": "2026-11-14T07:11:31.362Z",
  "_upstream": "https://github.com/cran/winnify",
  "_status": "success",
  "_maintainer": {
    "name": "Hannah Johns",
    "email": "dr.hannah.johns@gmail.com",
    "orcid": "0000-0003-2135-0504"
  },
  "_jobs": [
    {
      "job": 132371024336,
      "time": 172,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14103501895"
    },
    {
      "job": 132371024311,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14103952069"
    },
    {
      "job": 132370007733,
      "time": 247,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14104131311"
    },
    {
      "job": 132371024296,
      "time": 158,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14103582841"
    },
    {
      "job": 132371024297,
      "time": 163,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14104211670"
    },
    {
      "job": 132371024346,
      "time": 154,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14103832188"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cran/actions/runs/43569289946",
  "_commit": {
    "id": "d964444352fcc80bbaefc757f1e391e238126377",
    "author": "Hannah Johns <dr.hannah.johns@gmail.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.0\n",
    "time": 1794611402
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "RColorBrewer",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "WINS",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "sloop",
      "role": "Imports"
    },
    {
      "package": "genodds",
      "role": "Suggests"
    },
    {
      "package": "pim",
      "role": "Suggests"
    },
    {
      "package": "MASS",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "WinRatio",
      "role": "Suggests"
    },
    {
      "package": "survival",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-46",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "1.0.0",
      "date": "2026-11-13"
    }
  ],
  "_stars": 0,
  "_userbio": {
    "uuid": 6899542,
    "type": "organization",
    "name": "cran",
    "followers": 637,
    "description": "Unofficial read-only mirror of all CRAN R packages"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/winnify"
  },
  "_searchresults": 0,
  "_rbuild": "4.6.2",
  "_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/readme.html",
    "extra/readme.md",
    "extra/winnify.html"
  ],
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2026-11-13"
    }
  ],
  "_exports": [
    "as_winnify",
    "as_winnify.data.frame",
    "as_winnify.WinRatio",
    "plot.Winnify",
    "ranks",
    "w_arm",
    "w_id",
    "w_iptw",
    "w_stratum",
    "w_time",
    "winnify",
    "wins"
  ],
  "_datasets": [
    {
      "name": "neuro_improvement",
      "title": "Synthetic data showing modified Rankin Scale and neurological improvement",
      "object": "neuro_improvement",
      "class": [
        "data.frame"
      ],
      "fields": [
        "treat",
        "mRS",
        "early_neuro_improvement"
      ],
      "rows": 2000,
      "table": true,
      "tojson": true
    },
    {
      "name": "remapcap",
      "title": "A reconstructed dataset from the REMAP-CAP clinical trial by Angus et al. (2020)",
      "object": "remapcap",
      "class": [
        "data.frame"
      ],
      "fields": [
        "group",
        "deathTime",
        "dischargeTime",
        "deathStatus",
        "dischargeStatus",
        "score"
      ],
      "rows": 379,
      "table": true,
      "tojson": true
    },
    {
      "name": "tte_covariates",
      "title": "Simulated time-varying covariates",
      "object": "tte_covariates",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "time",
        "Z1",
        "Z2"
      ],
      "rows": 1220,
      "table": true,
      "tojson": true
    },
    {
      "name": "tte_longform",
      "title": "Simulated time to event data in long form",
      "object": "tte_longform",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "arm",
        "time",
        "Z1",
        "Z2",
        "event_1",
        "event_2",
        "event_3",
        "strata"
      ],
      "rows": 2420,
      "table": true,
      "tojson": true
    },
    {
      "name": "tte_outcomes",
      "title": "Simulated time to event data",
      "object": "tte_outcomes",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "arm",
        "Delta_1",
        "Delta_2",
        "Delta_3",
        "Y_1",
        "Y_2",
        "Y_3",
        "strata"
      ],
      "rows": 400,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_winnify",
      "title": "Convert other objects to a Winnify object",
      "topics": [
        "as_winnify",
        "as_winnify.data.frame",
        "as_winnify.WinRatio"
      ]
    },
    {
      "page": "neuro_improvement",
      "title": "Synthetic data showing modified Rankin Scale and neurological improvement",
      "topics": [
        "neuro_improvement"
      ]
    },
    {
      "page": "ranks",
      "title": "Wrapper function for rank-based statistical methods",
      "topics": [
        "ranks"
      ]
    },
    {
      "page": "remapcap",
      "title": "A reconstructed dataset from the REMAP-CAP clinical trial by Angus et al. (2020)",
      "topics": [
        "remapcap"
      ]
    },
    {
      "page": "tte_covariates",
      "title": "Simulated time-varying covariates",
      "topics": [
        "tte_covariates"
      ]
    },
    {
      "page": "tte_longform",
      "title": "Simulated time to event data in long form",
      "topics": [
        "tte_longform"
      ]
    },
    {
      "page": "tte_outcomes",
      "title": "Simulated time to event data",
      "topics": [
        "tte_outcomes"
      ]
    },
    {
      "page": "w_arm",
      "title": "Identify group variable",
      "topics": [
        "w_arm"
      ]
    },
    {
      "page": "w_id",
      "title": "Identify patient ID variable",
      "topics": [
        "w_id"
      ]
    },
    {
      "page": "w_iptw",
      "title": "Identify IPTW variable",
      "topics": [
        "w_iptw"
      ]
    },
    {
      "page": "w_stratum",
      "title": "Identify stratum variable",
      "topics": [
        "w_stratum"
      ]
    },
    {
      "page": "w_time",
      "title": "Identify time variable",
      "topics": [
        "w_time"
      ]
    },
    {
      "page": "winnify",
      "title": "Better Prioritised Outcomes Analyses",
      "topics": [
        "plot.Winnify",
        "winnify"
      ]
    },
    {
      "page": "wins",
      "title": "Wrapper for the win.stat() function from the WINS package",
      "topics": [
        "wins"
      ]
    }
  ],
  "_readme": "https://github.com/cran/winnify/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "ADGofTest",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "cluster",
    "codetools",
    "colorspace",
    "copula",
    "corrplot",
    "cowplot",
    "cpp11",
    "crayon",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gsl",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "minqa",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "patchwork",
    "pbkrtest",
    "pcaPP",
    "pillar",
    "pkgconfig",
    "plyr",
    "polynom",
    "pspline",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "reshape2",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "sloop",
    "SparseM",
    "stabledist",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridis",
    "viridisLite",
    "WINS",
    "withr",
    "zoo"
  ],
  "_score": 1.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "winnify",
  "_universes": [
    "cran"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-14T07:10:29.000Z",
      "distro": "resolute",
      "commit": "d964444352fcc80bbaefc757f1e391e238126377",
      "fileid": "https://r2.ropensci.org/5bef02f138405ad0f46923da24e7ea116e05e9e996c5729b44d3b8d3b6efde37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43569289946"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-14T07:10:31.000Z",
      "distro": "resolute",
      "commit": "d964444352fcc80bbaefc757f1e391e238126377",
      "fileid": "https://r2.ropensci.org/c3d673b7e48b0556c3c5c34a0bca26ce48e62d7e62c1c920ef700edab75502d7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43569289946"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-11-14T07:10:48.000Z",
      "commit": "d964444352fcc80bbaefc757f1e391e238126377",
      "fileid": "https://r2.ropensci.org/ea806d24ef6fb345eaacf1ecc37aafdc260b55f57b6ec012eb58743327c5f248",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43569289946"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-14T07:10:02.000Z",
      "commit": "d964444352fcc80bbaefc757f1e391e238126377",
      "fileid": "https://r2.ropensci.org/b56649ed5958c41889901897c47aeeb6e4525017dc3d4262d2124980644311b6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43569289946"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-14T07:09:41.000Z",
      "commit": "d964444352fcc80bbaefc757f1e391e238126377",
      "fileid": "https://r2.ropensci.org/e538de46e54a72540c6c86864b9b26b11f21c62ab8be4fef039adc857ad821a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cran/actions/runs/43569289946"
    }
  ]
}