Last updated on 2026-08-04 02:50:47 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.1.1 | 8.56 | 86.78 | 95.34 | ERROR | |
| r-devel-linux-x86_64-debian-gcc | 0.1.1 | 6.58 | 66.49 | 73.07 | ERROR | |
| r-devel-linux-x86_64-fedora-clang | 0.1.1 | 15.00 | 132.22 | 147.22 | ERROR | |
| r-devel-linux-x86_64-fedora-gcc | 0.1.1 | 67.57 | ERROR | |||
| r-devel-windows-x86_64 | 0.1.1 | 11.00 | 91.00 | 102.00 | ERROR | |
| r-patched-linux-x86_64 | 0.1.1 | 8.85 | 80.49 | 89.34 | ERROR | |
| r-release-linux-x86_64 | 0.1.1 | 8.20 | 80.87 | 89.07 | ERROR | |
| r-release-macos-arm64 | 0.1.1 | 2.00 | 34.00 | 36.00 | OK | |
| r-release-macos-x86_64 | 0.1.1 | 6.00 | 139.00 | 145.00 | OK | |
| r-release-windows-x86_64 | 0.1.1 | 12.00 | 98.00 | 110.00 | ERROR | |
| r-oldrel-macos-arm64 | 0.1.1 | OK | ||||
| r-oldrel-macos-x86_64 | 0.1.1 | 6.00 | 129.00 | 135.00 | OK | |
| r-oldrel-windows-x86_64 | 0.1.1 | 15.00 | 115.00 | 130.00 | ERROR |
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [5s/7s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(jointCompRisk)
>
> test_check("jointCompRisk")
Saving _problems/test-basic-32.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-basic.R:32:3'): do_cif_analysis returns formatted summaries ────
Error in `survfit.formula(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)`: the etype argument is no longer supported, use a factor as the status variable
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(prepped, tau = 15) at test-basic.R:32:3
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
...
--- re-building ‘Example_analysis.Rmd’ using rmarkdown
Quitting from Example_analysis.Rmd:24-42 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `survfit.formula()`:
! the etype argument is no longer supported, use a factor as the status variable
---
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(mydata_std, tau = 15)
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Example_analysis.Rmd' failed with diagnostics:
the etype argument is no longer supported, use a factor as the status variable
--- failed re-building ‘Example_analysis.Rmd’
--- re-building ‘Vignette.Rmd’ using rmarkdown
main_df package:jointCompRisk R Documentation
_<08>M_<08>a_<08>i_<08>n _<08>C_<08>o_<08>m_<08>p_<08>e_<08>t_<08>i_<08>n_<08>g _<08>R_<08>i_<08>s_<08>k_<08>s _<08>D_<08>a_<08>t_<08>a_<08>s_<08>e_<08>t _<08>S_<08>i_<08>m_<08>u_<08>l_<08>a_<08>t_<08>e_<08>d _<08>c_<08>l_<08>i_<08>n_<08>i_<08>c_<08>a_<08>l _<08>t_<08>r_<08>i_<08>a_<08>l _<08>d_<08>a_<08>t_<08>a _<08>w_<08>i_<08>t_<08>h
_<08>c_<08>o_<08>m_<08>p_<08>e_<08>t_<08>i_<08>n_<08>g _<08>r_<08>i_<08>s_<08>k_<08>s _<08>s_<08>u_<08>r_<08>v_<08>i_<08>v_<08>a_<08>l _<08>o_<08>u_<08>t_<08>c_<08>o_<08>m_<08>e_<08>s. _<08>T_<08>h_<08>i_<08>s _<08>d_<08>a_<08>t_<08>a_<08>s_<08>e_<08>t _<08>f_<08>o_<08>l_<08>l_<08>o_<08>w_<08>s _<08>t_<08>h_<08>e _<08>s_<08>t_<08>r_<08>u_<08>c_<08>t_<08>u_<08>r_<08>e
_<08>o_<08>f _<08>A_<08>d_<08>a_<08>p_<08>t_<08>i_<08>v_<08>e _<08>C_<08>O_<08>V_<08>I_<08>D-_<08>1_<08>9 _<08>T_<08>r_<08>e_<08>a_<08>t_<08>m_<08>e_<08>n_<08>t _<08>T_<08>r_<08>i_<08>a_<08>l_<08>s (_<08>A_<08>C_<08>T_<08>T) _<08>w_<08>i_<08>t_<08>h _<08>b_<08>u_<08>i_<08>l_<08>t-_<08>i_<08>n _<08>t_<08>r_<08>e_<08>a_<08>t_<08>m_<08>e_<08>n_<08>t
_<08>e_<08>f_<08>f_<08>e_<08>c_<08>t_<08>s _<08>f_<08>o_<08>r _<08>d_<08>e_<08>m_<08>o_<08>n_<08>s_<08>t_<08>r_<08>a_<08>t_<08>i_<08>o_<08>n _<08>p_<08>u_<08>r_<08>p_<08>o_<08>s_<08>e_<08>s.
_<08>D_<08>e_<08>s_<08>c_<08>r_<08>i_<08>p_<08>t_<08>i_<08>o_<08>n:
Main Competing Risks Dataset Simulated clinical trial data with
competing risks survival outcomes. This dataset follows the
structure of Adaptive COVID-19 Treatment Trials (ACTT) with
built-in treatment effects for demonstration purposes.
_<08>U_<08>s_<08>a_<08>g_<08>e:
data(main_df)
_<08>F_<08>o_<08>r_<08>m_<08>a_<08>t:
A data frame with 150 rows and 7 variables:
ID
Patient identifier (character)
TimeToRecovery
Time to recovery event in days (numeric)
TimeToDeath
Time to death event in days (numeric)
RecoveryCensoringIndicator
Recovery censoring indicator (0=event observed, 1=censored)
DeathCensoringIndicator
Death censoring indicator (0=event observed, 1=censored)
BaselineScore
Baseline severity score, range 4-7 (numeric)
Treatment
Treatment arm indicator (0=control, 1=treatment)
_<08>D_<08>e_<08>t_<08>a_<08>i_<08>l_<08>s:
This is a simulated dataset created for demonstration purposes
with realistic treatment effects built in: treatment group has
1.5× faster recovery times and 1.8× improved survival compared to
control. The data represents a clinical trial with competing risks
where patients can either recover or die, with administrative
censoring at 30 days.
_<08>S_<08>o_<08>u_<08>r_<08>c_<08>e:
Simulated data based on Weibull distributions with
treatment-specific parameters
_<08>E_<08>x_<08>a_<08>m_<08>p_<08>l_<08>e_<08>s:
data(main_df)
head(main_df)
summary(main_df)
# Compare outcomes by treatment
tapply(main_df$TimeToRecovery, main_df$Treatment, summary)
tapply(main_df$TimeToDeath, main_df$Treatment, summary)
long_df package:jointCompRisk R Documentation
_<08>L_<08>o_<08>n_<08>g_<08>i_<08>t_<08>u_<08>d_<08>i_<08>n_<08>a_<08>l _<08>S_<08>e_<08>v_<08>e_<08>r_<08>i_<08>t_<08>y _<08>S_<08>c_<08>o_<08>r_<08>e_<08>s _<08>D_<08>a_<08>t_<08>a_<08>s_<08>e_<08>t
_<08>D_<08>e_<08>s_<08>c_<08>r_<08>i_<08>p_<08>t_<08>i_<08>o_<08>n:
Repeated measurements of ordinal severity scores over time for the
same patients in the main_df dataset, with treatment-specific
trajectory patterns.
_<08>U_<08>s_<08>a_<08>g_<08>e:
data(long_df)
_<08>F_<08>o_<08>r_<08>m_<08>a_<08>t:
A data frame with variable rows per patient:
PersonID
Patient identifier matching ID in main_df (character)
OrdinalScore
Severity score on 1-8 scale (numeric)
RelativeDay
Study day (numeric) starting from day 0 (baseline)
_<08>D_<08>e_<08>t_<08>a_<08>i_<08>l_<08>s:
Measurements are taken at scheduled visits: days 0 (baseline), 1,
3, 5, 7, 10, 14, 18, 21, 25, 28. The trajectory follows
treatment-specific probabilities: treatment patients have 45 and
15 worsening probability, creating realistic differential clinical
progression patterns.
_<08>S_<08>o_<08>u_<08>r_<08>c_<08>e:
Simulated data using treatment-specific random walk with
boundaries
_<08>E_<08>x_<08>a_<08>m_<08>p_<08>l_<08>e_<08>s:
data(long_df)
data(main_df)
head(long_df)
# See data for first patient
subset(long_df, PersonID == "Patient_001")
# Compare average scores by treatment
long_df %>%
dplyr::left_join(main_df[,c("ID","Treatment")], by=c("PersonID"="ID")) %>%
dplyr::group_by(Treatment) %>%
dplyr::summarise(mean_score = mean(OrdinalScore))
Quitting from Vignette.Rmd:159-169 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `survfit.formula()`:
! the etype argument is no longer supported, use a factor as the status variable
---
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(mydata_std, tau = 15)
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Vignette.Rmd' failed with diagnostics:
the etype argument is no longer supported, use a factor as the status variable
--- failed re-building ‘Vignette.Rmd’
SUMMARY: processing the following files failed:
‘Example_analysis.Rmd’ ‘Vignette.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [3s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(jointCompRisk)
>
> test_check("jointCompRisk")
Saving _problems/test-basic-32.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-basic.R:32:3'): do_cif_analysis returns formatted summaries ────
Error in `survfit.formula(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)`: the etype argument is no longer supported, use a factor as the status variable
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(prepped, tau = 15) at test-basic.R:32:3
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.1
Check: for new files in some other directories
Result: NOTE
Found the following files/directories:
‘~/tmp/scratch/Rtmp015qz9’ ‘~/tmp/scratch/Rtmp0SOLr6’
‘~/tmp/scratch/Rtmp1KvvUd’ ‘~/tmp/scratch/Rtmp1O0lJW’
‘~/tmp/scratch/Rtmp2AC8OV’ ‘~/tmp/scratch/Rtmp2yBbEI’
‘~/tmp/scratch/Rtmp3LdGBJ’ ‘~/tmp/scratch/Rtmp3Litxt’
‘~/tmp/scratch/Rtmp43Bqn6’ ‘~/tmp/scratch/Rtmp45OlsZ’
‘~/tmp/scratch/Rtmp4itHHF’ ‘~/tmp/scratch/Rtmp4xn9h3’
‘~/tmp/scratch/Rtmp4yS0lA’ ‘~/tmp/scratch/Rtmp58P6cl’
‘~/tmp/scratch/Rtmp5H7T9y’ ‘~/tmp/scratch/Rtmp5Qhmht’
‘~/tmp/scratch/Rtmp5TtJNj’ ‘~/tmp/scratch/Rtmp5Ywq76’
‘~/tmp/scratch/Rtmp5aLRoM’ ‘~/tmp/scratch/Rtmp5iJfc1’
‘~/tmp/scratch/Rtmp6r5vjm’ ‘~/tmp/scratch/Rtmp6y1kvl’
‘~/tmp/scratch/Rtmp77Qhbt’ ‘~/tmp/scratch/Rtmp7eCZVq’
‘~/tmp/scratch/Rtmp7qb3Wt’ ‘~/tmp/scratch/Rtmp9GjPJN’
‘~/tmp/scratch/Rtmp9ROY9i’ ‘~/tmp/scratch/RtmpA6V4w7’
‘~/tmp/scratch/RtmpAy1Muy’ ‘~/tmp/scratch/RtmpBGNOcM’
‘~/tmp/scratch/RtmpBKwzQu’ ‘~/tmp/scratch/RtmpBfmZ8B’
‘~/tmp/scratch/RtmpCje6nL’ ‘~/tmp/scratch/RtmpDLRglM’
‘~/tmp/scratch/RtmpFDoiMt’ ‘~/tmp/scratch/RtmpFmGiqq’
‘~/tmp/scratch/RtmpG8jIwq’ ‘~/tmp/scratch/RtmpGEV9xI’
‘~/tmp/scratch/RtmpGISZDN’ ‘~/tmp/scratch/RtmpGqcKLS’
‘~/tmp/scratch/RtmpHNidqk’ ‘~/tmp/scratch/RtmpHZ6hLE’
‘~/tmp/scratch/RtmpIOwdoa’ ‘~/tmp/scratch/RtmpIZeqWM’
‘~/tmp/scratch/RtmpJ6XVZA’ ‘~/tmp/scratch/RtmpJ6ltQ6’
‘~/tmp/scratch/RtmpKE6pnP’ ‘~/tmp/scratch/RtmpKVB7G0’
‘~/tmp/scratch/RtmpMSiP3f’ ‘~/tmp/scratch/RtmpMgy9OF’
‘~/tmp/scratch/RtmpMiORS3’ ‘~/tmp/scratch/RtmpNP6Jjc’
‘~/tmp/scratch/RtmpOuiKZQ’ ‘~/tmp/scratch/RtmpP00Vqo’
‘~/tmp/scratch/RtmpPAVrCL’ ‘~/tmp/scratch/RtmpPDX5VH’
‘~/tmp/scratch/RtmpQkzTx9’ ‘~/tmp/scratch/RtmpRRISyc’
‘~/tmp/scratch/RtmpRhm2n2’ ‘~/tmp/scratch/RtmpRpqli7’
‘~/tmp/scratch/RtmpSnKJNT’ ‘~/tmp/scratch/RtmpSnrH7b’
‘~/tmp/scratch/RtmpSyo8Zo’ ‘~/tmp/scratch/RtmpThvNFP’
‘~/tmp/scratch/RtmpTlhyZh’ ‘~/tmp/scratch/RtmpU1CLVm’
‘~/tmp/scratch/RtmpUxCv4O’ ‘~/tmp/scratch/RtmpWLkFnV’
‘~/tmp/scratch/RtmpWYG8aW’ ‘~/tmp/scratch/RtmpWm9ml7’
‘~/tmp/scratch/RtmpXIvwKg’ ‘~/tmp/scratch/RtmpXRwLtx’
‘~/tmp/scratch/RtmpXsIZE3’ ‘~/tmp/scratch/RtmpYoxtYX’
‘~/tmp/scratch/RtmpZIxqFb’ ‘~/tmp/scratch/RtmpZfpJeM’
‘~/tmp/scratch/Rtmpa68bPQ’ ‘~/tmp/scratch/RtmpaNk719’
‘~/tmp/scratch/RtmpacBrNX’ ‘~/tmp/scratch/Rtmpanlwd3’
‘~/tmp/scratch/RtmpatpaPg’ ‘~/tmp/scratch/RtmpbjRoXo’
‘~/tmp/scratch/Rtmpd1K7wJ’ ‘~/tmp/scratch/RtmpdX56aw’
‘~/tmp/scratch/RtmpdoPTxx’ ‘~/tmp/scratch/Rtmpep9C4c’
‘~/tmp/scratch/Rtmpf4ZjTK’ ‘~/tmp/scratch/Rtmpfbqycm’
‘~/tmp/scratch/RtmpgLhfBs’ ‘~/tmp/scratch/RtmpiVAPrD’
‘~/tmp/scratch/RtmpieL7K5’ ‘~/tmp/scratch/Rtmpiqco13’
‘~/tmp/scratch/RtmpjCAoji’ ‘~/tmp/scratch/RtmpjPKDbu’
‘~/tmp/scratch/RtmpjjRzRA’ ‘~/tmp/scratch/RtmpjrJZ3r’
‘~/tmp/scratch/RtmpkHoOwW’ ‘~/tmp/scratch/RtmpkS71kg’
‘~/tmp/scratch/RtmpkyucqV’ ‘~/tmp/scratch/RtmplYDBKb’
‘~/tmp/scratch/Rtmplamp4y’ ‘~/tmp/scratch/RtmpoEu5y9’
‘~/tmp/scratch/RtmppgxPSa’ ‘~/tmp/scratch/Rtmppjpr1x’
‘~/tmp/scratch/Rtmpq3FYdh’ ‘~/tmp/scratch/RtmpqDzxqT’
‘~/tmp/scratch/RtmpqSH3z9’ ‘~/tmp/scratch/Rtmpr5Z1oz’
‘~/tmp/scratch/RtmpruLqQo’ ‘~/tmp/scratch/RtmpsDnV7U’
‘~/tmp/scratch/RtmpsH9YNG’ ‘~/tmp/scratch/Rtmpt9RKsX’
‘~/tmp/scratch/RtmpuEtEY7’ ‘~/tmp/scratch/Rtmpunnu36’
‘~/tmp/scratch/Rtmpuw5pID’ ‘~/tmp/scratch/RtmpvlPH7D’
‘~/tmp/scratch/Rtmpw8zJzt’ ‘~/tmp/scratch/RtmpwUHvhn’
‘~/tmp/scratch/RtmpwiE3uZ’ ‘~/tmp/scratch/Rtmpx5qbRt’
‘~/tmp/scratch/RtmpxLgMnO’ ‘~/tmp/scratch/RtmpxMIFTx’
‘~/tmp/scratch/RtmpxzFDOg’ ‘~/tmp/scratch/RtmpyA6wkQ’
‘~/tmp/scratch/RtmpyKNCYL’ ‘~/tmp/scratch/Rtmpyv8eiX’
‘~/tmp/scratch/RtmpywYUaS’ ‘~/tmp/scratch/Rtmpyy5VZM’
‘~/tmp/scratch/RtmpzlxqDk’ ‘~/tmp/scratch/xvfb-run.1Lu6V8’
‘~/tmp/scratch/xvfb-run.1ruNIv’ ‘~/tmp/scratch/xvfb-run.2d4g0l’
‘~/tmp/scratch/xvfb-run.3t6W1r’ ‘~/tmp/scratch/xvfb-run.4PhOhk’
‘~/tmp/scratch/xvfb-run.4cqYIh’ ‘~/tmp/scratch/xvfb-run.53NuRZ’
‘~/tmp/scratch/xvfb-run.5SGMTu’ ‘~/tmp/scratch/xvfb-run.6OsXcR’
‘~/tmp/scratch/xvfb-run.9IiTtz’ ‘~/tmp/scratch/xvfb-run.AIhTJV’
‘~/tmp/scratch/xvfb-run.AUypxB’ ‘~/tmp/scratch/xvfb-run.BRQ1dU’
‘~/tmp/scratch/xvfb-run.BSWpdB’ ‘~/tmp/scratch/xvfb-run.Ezt2MC’
‘~/tmp/scratch/xvfb-run.FXBDIl’ ‘~/tmp/scratch/xvfb-run.GziItE’
‘~/tmp/scratch/xvfb-run.HRQYXL’ ‘~/tmp/scratch/xvfb-run.Ji4MUG’
‘~/tmp/scratch/xvfb-run.JiJGei’ ‘~/tmp/scratch/xvfb-run.LFpuKh’
‘~/tmp/scratch/xvfb-run.LyZE7h’ ‘~/tmp/scratch/xvfb-run.M831oA’
‘~/tmp/scratch/xvfb-run.NpPvBu’ ‘~/tmp/scratch/xvfb-run.NypLr2’
‘~/tmp/scratch/xvfb-run.QHbjgy’ ‘~/tmp/scratch/xvfb-run.RbRtcV’
‘~/tmp/scratch/xvfb-run.T0TDPL’ ‘~/tmp/scratch/xvfb-run.T4IAQg’
‘~/tmp/scratch/xvfb-run.TUp8UI’ ‘~/tmp/scratch/xvfb-run.V15KrR’
‘~/tmp/scratch/xvfb-run.VgD6iG’ ‘~/tmp/scratch/xvfb-run.VogqSk’
‘~/tmp/scratch/xvfb-run.XG63bn’ ‘~/tmp/scratch/xvfb-run.Z0BW5z’
‘~/tmp/scratch/xvfb-run.bRETaJ’ ‘~/tmp/scratch/xvfb-run.bmD2zD’
‘~/tmp/scratch/xvfb-run.cjKut9’ ‘~/tmp/scratch/xvfb-run.coa80R’
‘~/tmp/scratch/xvfb-run.d6Gnpm’ ‘~/tmp/scratch/xvfb-run.fe8XuC’
‘~/tmp/scratch/xvfb-run.ikzp0g’ ‘~/tmp/scratch/xvfb-run.k4oRvA’
‘~/tmp/scratch/xvfb-run.kevulL’ ‘~/tmp/scratch/xvfb-run.lp72zk’
‘~/tmp/scratch/xvfb-run.mgrHHN’ ‘~/tmp/scratch/xvfb-run.oATvqj’
‘~/tmp/scratch/xvfb-run.oo2Tq2’ ‘~/tmp/scratch/xvfb-run.qeo7FB’
‘~/tmp/scratch/xvfb-run.rvtMks’ ‘~/tmp/scratch/xvfb-run.sBj1pm’
‘~/tmp/scratch/xvfb-run.t1ZDxp’ ‘~/tmp/scratch/xvfb-run.tKCMqw’
‘~/tmp/scratch/xvfb-run.tuQOJe’ ‘~/tmp/scratch/xvfb-run.w2gZ0K’
‘~/tmp/scratch/xvfb-run.wami4I’ ‘~/tmp/scratch/xvfb-run.wqTLMV’
‘~/tmp/scratch/xvfb-run.xAfIXq’ ‘~/tmp/scratch/xvfb-run.ykEMTr’
‘~/tmp/scratch/xvfb-run.zxdal4’ ‘~/.cache/quarto/sass/sass.kv-shm’
‘~/.cache/quarto/sass/sass.kv-wal’
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(jointCompRisk)
>
> test_check("jointCompRisk")
Saving _problems/test-basic-32.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-basic.R:32:3'): do_cif_analysis returns formatted summaries ────
Error in `survfit.formula(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)`: the etype argument is no longer supported, use a factor as the status variable
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(prepped, tau = 15) at test-basic.R:32:3
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘Example_analysis.Rmd’ using rmarkdown
Quitting from Example_analysis.Rmd:24-42 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `survfit.formula()`:
! the etype argument is no longer supported, use a factor as the status variable
---
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(mydata_std, tau = 15)
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Example_analysis.Rmd' failed with diagnostics:
the etype argument is no longer supported, use a factor as the status variable
--- failed re-building ‘Example_analysis.Rmd’
--- re-building ‘Vignette.Rmd’ using rmarkdown
main_df package:jointCompRisk R Documentation
_<08>M_<08>a_<08>i_<08>n _<08>C_<08>o_<08>m_<08>p_<08>e_<08>t_<08>i_<08>n_<08>g _<08>R_<08>i_<08>s_<08>k_<08>s _<08>D_<08>a_<08>t_<08>a_<08>s_<08>e_<08>t _<08>S_<08>i_<08>m_<08>u_<08>l_<08>a_<08>t_<08>e_<08>d _<08>c_<08>l_<08>i_<08>n_<08>i_<08>c_<08>a_<08>l _<08>t_<08>r_<08>i_<08>a_<08>l _<08>d_<08>a_<08>t_<08>a _<08>w_<08>i_<08>t_<08>h
_<08>c_<08>o_<08>m_<08>p_<08>e_<08>t_<08>i_<08>n_<08>g _<08>r_<08>i_<08>s_<08>k_<08>s _<08>s_<08>u_<08>r_<08>v_<08>i_<08>v_<08>a_<08>l _<08>o_<08>u_<08>t_<08>c_<08>o_<08>m_<08>e_<08>s. _<08>T_<08>h_<08>i_<08>s _<08>d_<08>a_<08>t_<08>a_<08>s_<08>e_<08>t _<08>f_<08>o_<08>l_<08>l_<08>o_<08>w_<08>s _<08>t_<08>h_<08>e _<08>s_<08>t_<08>r_<08>u_<08>c_<08>t_<08>u_<08>r_<08>e
_<08>o_<08>f _<08>A_<08>d_<08>a_<08>p_<08>t_<08>i_<08>v_<08>e _<08>C_<08>O_<08>V_<08>I_<08>D-_<08>1_<08>9 _<08>T_<08>r_<08>e_<08>a_<08>t_<08>m_<08>e_<08>n_<08>t _<08>T_<08>r_<08>i_<08>a_<08>l_<08>s (_<08>A_<08>C_<08>T_<08>T) _<08>w_<08>i_<08>t_<08>h _<08>b_<08>u_<08>i_<08>l_<08>t-_<08>i_<08>n _<08>t_<08>r_<08>e_<08>a_<08>t_<08>m_<08>e_<08>n_<08>t
_<08>e_<08>f_<08>f_<08>e_<08>c_<08>t_<08>s _<08>f_<08>o_<08>r _<08>d_<08>e_<08>m_<08>o_<08>n_<08>s_<08>t_<08>r_<08>a_<08>t_<08>i_<08>o_<08>n _<08>p_<08>u_<08>r_<08>p_<08>o_<08>s_<08>e_<08>s.
_<08>D_<08>e_<08>s_<08>c_<08>r_<08>i_<08>p_<08>t_<08>i_<08>o_<08>n:
Main Competing Risks Dataset Simulated clinical trial data with
competing risks survival outcomes. This dataset follows the
structure of Adaptive COVID-19 Treatment Trials (ACTT) with
built-in treatment effects for demonstration purposes.
_<08>U_<08>s_<08>a_<08>g_<08>e:
data(main_df)
_<08>F_<08>o_<08>r_<08>m_<08>a_<08>t:
A data frame with 150 rows and 7 variables:
ID
Patient identifier (character)
TimeToRecovery
Time to recovery event in days (numeric)
TimeToDeath
Time to death event in days (numeric)
RecoveryCensoringIndicator
Recovery censoring indicator (0=event observed, 1=censored)
DeathCensoringIndicator
Death censoring indicator (0=event observed, 1=censored)
BaselineScore
Baseline severity score, range 4-7 (numeric)
Treatment
Treatment arm indicator (0=control, 1=treatment)
_<08>D_<08>e_<08>t_<08>a_<08>i_<08>l_<08>s:
This is a simulated dataset created for demonstration purposes
with realistic treatment effects built in: treatment group has
1.5× faster recovery times and 1.8× improved survival compared to
control. The data represents a clinical trial with competing risks
where patients can either recover or die, with administrative
censoring at 30 days.
_<08>S_<08>o_<08>u_<08>r_<08>c_<08>e:
Simulated data based on Weibull distributions with
treatment-specific parameters
_<08>E_<08>x_<08>a_<08>m_<08>p_<08>l_<08>e_<08>s:
data(main_df)
head(main_df)
summary(main_df)
# Compare outcomes by treatment
tapply(main_df$TimeToRecovery, main_df$Treatment, summary)
tapply(main_df$TimeToDeath, main_df$Treatment, summary)
long_df package:jointCompRisk R Documentation
_<08>L_<08>o_<08>n_<08>g_<08>i_<08>t_<08>u_<08>d_<08>i_<08>n_<08>a_<08>l _<08>S_<08>e_<08>v_<08>e_<08>r_<08>i_<08>t_<08>y _<08>S_<08>c_<08>o_<08>r_<08>e_<08>s _<08>D_<08>a_<08>t_<08>a_<08>s_<08>e_<08>t
_<08>D_<08>e_<08>s_<08>c_<08>r_<08>i_<08>p_<08>t_<08>i_<08>o_<08>n:
Repeated measurements of ordinal severity scores over time for the
same patients in the main_df dataset, with treatment-specific
trajectory patterns.
_<08>U_<08>s_<08>a_<08>g_<08>e:
data(long_df)
_<08>F_<08>o_<08>r_<08>m_<08>a_<08>t:
A data frame with variable rows per patient:
PersonID
Patient identifier matching ID in main_df (character)
OrdinalScore
Severity score on 1-8 scale (numeric)
RelativeDay
Study day (numeric) starting from day 0 (baseline)
_<08>D_<08>e_<08>t_<08>a_<08>i_<08>l_<08>s:
Measurements are taken at scheduled visits: days 0 (baseline), 1,
3, 5, 7, 10, 14, 18, 21, 25, 28. The trajectory follows
treatment-specific probabilities: treatment patients have 45 and
15 worsening probability, creating realistic differential clinical
progression patterns.
_<08>S_<08>o_<08>u_<08>r_<08>c_<08>e:
Simulated data using treatment-specific random walk with
boundaries
_<08>E_<08>x_<08>a_<08>m_<08>p_<08>l_<08>e_<08>s:
data(long_df)
data(main_df)
head(long_df)
# See data for first patient
subset(long_df, PersonID == "Patient_001")
# Compare average scores by treatment
long_df %>%
dplyr::left_join(main_df[,c("ID","Treatment")], by=c("PersonID"="ID")) %>%
dplyr::group_by(Treatment) %>%
dplyr::summarise(mean_score = mean(OrdinalScore))
Quitting from Vignette.Rmd:159-169 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `survfit.formula()`:
! the etype argument is no longer supported, use a factor as the status variable
---
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(mydata_std, tau = 15)
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Vignette.Rmd' failed with diagnostics:
the etype argument is no longer supported, use a factor as the status variable
--- failed re-building ‘Vignette.Rmd’
SUMMARY: processing the following files failed:
‘Example_analysis.Rmd’ ‘Vignette.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [4s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(jointCompRisk)
>
> test_check("jointCompRisk")
Saving _problems/test-basic-32.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-basic.R:32:3'): do_cif_analysis returns formatted summaries ────
Error in `survfit.formula(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)`: the etype argument is no longer supported, use a factor as the status variable
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(prepped, tau = 15) at test-basic.R:32:3
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
Error:
! Test failures.
Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64
Version: 0.1.1
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'Example_analysis.Rmd' using rmarkdown
Quitting from Example_analysis.Rmd:24-42 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `survfit.formula()`:
! the etype argument is no longer supported, use a factor as the status variable
---
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(mydata_std, tau = 15)
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Example_analysis.Rmd' failed with diagnostics:
the etype argument is no longer supported, use a factor as the status variable
--- failed re-building 'Example_analysis.Rmd'
--- re-building 'Vignette.Rmd' using rmarkdown
Quitting from Vignette.Rmd:159-169 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `survfit.formula()`:
! the etype argument is no longer supported, use a factor as the status variable
---
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(mydata_std, tau = 15)
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'Vignette.Rmd' failed with diagnostics:
the etype argument is no longer supported, use a factor as the status variable
--- failed re-building 'Vignette.Rmd'
SUMMARY: processing the following files failed:
'Example_analysis.Rmd' 'Vignette.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavors: r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [4s/6s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(jointCompRisk)
>
> test_check("jointCompRisk")
Saving _problems/test-basic-32.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-basic.R:32:3'): do_cif_analysis returns formatted summaries ────
Error in `survfit.formula(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)`: the etype argument is no longer supported, use a factor as the status variable
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(prepped, tau = 15) at test-basic.R:32:3
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
Error:
! Test failures.
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(jointCompRisk)
>
> test_check("jointCompRisk")
Saving _problems/test-basic-32.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-basic.R:32:3'): do_cif_analysis returns formatted summaries ────
Error in `survfit.formula(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)`: the etype argument is no longer supported, use a factor as the status variable
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(prepped, tau = 15) at test-basic.R:32:3
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
Error:
! Test failures.
Execution halted
Flavor: r-release-linux-x86_64
Version: 0.1.1
Check: tests
Result: ERROR
Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(jointCompRisk)
>
> test_check("jointCompRisk")
Saving _problems/test-basic-32.R
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-basic.R:32:3'): do_cif_analysis returns formatted summaries ────
Error in `survfit.formula(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)`: the etype argument is no longer supported, use a factor as the status variable
Backtrace:
▆
1. └─jointCompRisk::do_cif_analysis(prepped, tau = 15) at test-basic.R:32:3
2. └─jointCompRisk:::table1_cif(Treatment, Control, tau, 0, 1, 0)
3. └─jointCompRisk:::auc.var.joint(data1, tau, a, b, c)
4. ├─survival::survfit(Surv(etime, estatus) ~ 1, etype = etype2, data = data.w)
5. └─survival::survfit.formula(...)
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 10 ]
Error:
! Test failures.
Execution halted
Flavor: r-oldrel-windows-x86_64