Skip to content

WINS

The R WINS Package

v1.5.1 · Jul 1, 2025 · GPL (>= 2)

Description

Calculate the win statistics (win ratio, net benefit and win odds) for prioritized multiple endpoints, plot the win statistics and win proportions over study time if at least one time-to-event endpoint is analyzed, and simulate datasets with dependent endpoints. The package can handle any type of outcomes (continuous, ordinal, binary, time-to-event) and allow users to perform stratified analysis, inverse probability of censoring weighting (IPCW) and inverse probability of treatment weighting (IPTW) analysis.

Downloads

CRAN

377

Last 30 days

11549th

927

Last 90 days

3.7K

Last year

Trend: +33.2% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

23

Last 90 days

102

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

3

Last 7 days

13

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘ggpubr’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code intelligence has not been computed for this package yet.

Code

Structure

Lines of code

4,920

Files

48

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,916 (79.6%)Docs 653 (13.3%)Vignettes 351 (7.1%)

API

Exported functions

5

Internal functions

17

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

36.4%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

12

First release

2021-12-16

Latest release

2025-07-02

Avg cadence

58 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v1.0: 2,344 LOCv1.1: 2,388 LOCv1.2: 2,388 LOCv1.3: 2,399 LOCv1.3.2: 2,441 LOCv1.3.3: 2,441 LOCv1.4: 3,372 LOCv1.4.1: 3,372 LOCv1.4.2: 3,437 LOCv1.4.3: 4,237 LOCv1.5: 4,920 LOCv1.5.1: 4,920 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (1)

suggests

Dependency Network

Dependencies Reverse dependencies copula ggplot2 ggpubr reshape2 survival stringr viridis causalWins WINS

Version History

13 tracked
new 1.5.1 Mar 10, 2026
updated 1.5.1 ← 1.5 diff Jul 1, 2025
updated 1.5 ← 1.4.3 diff May 4, 2025
updated 1.4.3 ← 1.4.2 diff Jan 12, 2025
updated 1.4.2 ← 1.4.1 diff Apr 28, 2024
updated 1.4.1 ← 1.4 diff Apr 18, 2024
updated 1.4 ← 1.3.3 diff Apr 7, 2024
updated 1.3.3 ← 1.3.2 diff Jul 8, 2023
updated 1.3.2 ← 1.3 diff Sep 29, 2022
updated 1.3 ← 1.2 diff Sep 8, 2022
updated 1.2 ← 1.1 diff Jul 17, 2022
updated 1.1 ← 1.0 diff Feb 2, 2022
new 1.0 Dec 15, 2021