CRAN Package Check Results for Package jointCompRisk

Last updated on 2026-08-02 07:50:33 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.22 65.22 71.44 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 11.00 92.00 103.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 14.00 115.00 129.00 ERROR

Check Details

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/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-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/Rtmp0dLJuB’ ‘~/tmp/scratch/Rtmp0hK3dU’ ‘~/tmp/scratch/Rtmp0x6s2K’ ‘~/tmp/scratch/Rtmp0z9Gnx’ ‘~/tmp/scratch/Rtmp17m0SD’ ‘~/tmp/scratch/Rtmp29PT4l’ ‘~/tmp/scratch/Rtmp2I5p9V’ ‘~/tmp/scratch/Rtmp2PvxFf’ ‘~/tmp/scratch/Rtmp2lleLs’ ‘~/tmp/scratch/Rtmp3AQIWi’ ‘~/tmp/scratch/Rtmp3PXwmk’ ‘~/tmp/scratch/Rtmp3atLwM’ ‘~/tmp/scratch/Rtmp3ph1yX’ ‘~/tmp/scratch/Rtmp4zSQxg’ ‘~/tmp/scratch/Rtmp5jfWCD’ ‘~/tmp/scratch/Rtmp6Zk77x’ ‘~/tmp/scratch/Rtmp7CmzJa’ ‘~/tmp/scratch/Rtmp7Dx93s’ ‘~/tmp/scratch/Rtmp7ZdVMr’ ‘~/tmp/scratch/Rtmp7ldhFA’ ‘~/tmp/scratch/Rtmp85cJgy’ ‘~/tmp/scratch/Rtmp8CQeFE’ ‘~/tmp/scratch/Rtmp8c6RSr’ ‘~/tmp/scratch/Rtmp9uosxQ’ ‘~/tmp/scratch/RtmpA2gAE3’ ‘~/tmp/scratch/RtmpASqJ5H’ ‘~/tmp/scratch/RtmpAZL86i’ ‘~/tmp/scratch/RtmpB59k37’ ‘~/tmp/scratch/RtmpB9iCIw’ ‘~/tmp/scratch/RtmpBErKZk’ ‘~/tmp/scratch/RtmpCbKMZY’ ‘~/tmp/scratch/RtmpD06e4L’ ‘~/tmp/scratch/RtmpDfWs0h’ ‘~/tmp/scratch/RtmpDk2zdI’ ‘~/tmp/scratch/RtmpDrPsIy’ ‘~/tmp/scratch/RtmpER4Y8w’ ‘~/tmp/scratch/RtmpEkHJIB’ ‘~/tmp/scratch/RtmpEnghPo’ ‘~/tmp/scratch/RtmpFfbSjG’ ‘~/tmp/scratch/RtmpGQKncn’ ‘~/tmp/scratch/RtmpGrk7Xu’ ‘~/tmp/scratch/RtmpGswW8n’ ‘~/tmp/scratch/RtmpGwuFfM’ ‘~/tmp/scratch/RtmpGyUNum’ ‘~/tmp/scratch/RtmpI6I0nt’ ‘~/tmp/scratch/RtmpIoqTW6’ ‘~/tmp/scratch/RtmpJ52zxw’ ‘~/tmp/scratch/RtmpJ5jvJ6’ ‘~/tmp/scratch/RtmpJnrmFR’ ‘~/tmp/scratch/RtmpKCdSjD’ ‘~/tmp/scratch/RtmpKkELGh’ ‘~/tmp/scratch/RtmpKqPJKJ’ ‘~/tmp/scratch/RtmpKrUbyV’ ‘~/tmp/scratch/RtmpLYK7hH’ ‘~/tmp/scratch/RtmpM6wpDu’ ‘~/tmp/scratch/RtmpMM4DP6’ ‘~/tmp/scratch/RtmpMfDFKE’ ‘~/tmp/scratch/RtmpNbdxGW’ ‘~/tmp/scratch/RtmpNku7Dy’ ‘~/tmp/scratch/RtmpNxJvr4’ ‘~/tmp/scratch/RtmpO7NSKK’ ‘~/tmp/scratch/RtmpPUc2RH’ ‘~/tmp/scratch/RtmpPuf9N8’ ‘~/tmp/scratch/RtmpQCQI4e’ ‘~/tmp/scratch/RtmpQjXVeE’ ‘~/tmp/scratch/RtmpQllKaB’ ‘~/tmp/scratch/RtmpQyYcem’ ‘~/tmp/scratch/RtmpSpfSv1’ ‘~/tmp/scratch/RtmpSwczCp’ ‘~/tmp/scratch/RtmpTDOMlW’ ‘~/tmp/scratch/RtmpUC1dIA’ ‘~/tmp/scratch/RtmpUEvYkU’ ‘~/tmp/scratch/RtmpVEzMao’ ‘~/tmp/scratch/RtmpWGBMYw’ ‘~/tmp/scratch/RtmpWLa57E’ ‘~/tmp/scratch/RtmpWQpIwh’ ‘~/tmp/scratch/RtmpWg450u’ ‘~/tmp/scratch/RtmpXYoI5C’ ‘~/tmp/scratch/RtmpXaPXOv’ ‘~/tmp/scratch/RtmpXzzI0n’ ‘~/tmp/scratch/RtmpYjfGR3’ ‘~/tmp/scratch/RtmpZ0OKjy’ ‘~/tmp/scratch/RtmpZ3daKx’ ‘~/tmp/scratch/RtmpZtDYxs’ ‘~/tmp/scratch/RtmpaBVJXE’ ‘~/tmp/scratch/RtmpaVZ0cE’ ‘~/tmp/scratch/Rtmpb0GXQj’ ‘~/tmp/scratch/RtmpbaBtwd’ ‘~/tmp/scratch/RtmpdRxyBh’ ‘~/tmp/scratch/RtmpfMMFpf’ ‘~/tmp/scratch/RtmpfnaFsk’ ‘~/tmp/scratch/RtmpfzWwoX’ ‘~/tmp/scratch/RtmpgnlY0a’ ‘~/tmp/scratch/RtmpgwFgm6’ ‘~/tmp/scratch/RtmpharAkD’ ‘~/tmp/scratch/Rtmphto0W9’ ‘~/tmp/scratch/Rtmpi9xqd4’ ‘~/tmp/scratch/RtmpiJdM3K’ ‘~/tmp/scratch/RtmpiTbBWz’ ‘~/tmp/scratch/RtmpiewunA’ ‘~/tmp/scratch/RtmpizUB5D’ ‘~/tmp/scratch/RtmpjAHZxM’ ‘~/tmp/scratch/RtmpjAbtUA’ ‘~/tmp/scratch/RtmpjCzbSj’ ‘~/tmp/scratch/RtmpjmL82b’ ‘~/tmp/scratch/RtmpkVuIhc’ ‘~/tmp/scratch/RtmpkXIIM0’ ‘~/tmp/scratch/RtmpkY5xRg’ ‘~/tmp/scratch/RtmpkmyVQS’ ‘~/tmp/scratch/RtmplULOLT’ ‘~/tmp/scratch/RtmpmF6DDg’ ‘~/tmp/scratch/RtmpmQyXMh’ ‘~/tmp/scratch/RtmpmSMqLm’ ‘~/tmp/scratch/RtmpnGQUk3’ ‘~/tmp/scratch/RtmpnOM7sC’ ‘~/tmp/scratch/RtmpoDqapd’ ‘~/tmp/scratch/RtmpoXsZp9’ ‘~/tmp/scratch/Rtmpobk8px’ ‘~/tmp/scratch/RtmppN4on7’ ‘~/tmp/scratch/RtmppSUeAO’ ‘~/tmp/scratch/Rtmppk2qaB’ ‘~/tmp/scratch/Rtmppl9UNo’ ‘~/tmp/scratch/RtmpqA8DVW’ ‘~/tmp/scratch/RtmpqSzKuE’ ‘~/tmp/scratch/RtmpqXKdOD’ ‘~/tmp/scratch/RtmpqxihK9’ ‘~/tmp/scratch/RtmprBiDjg’ ‘~/tmp/scratch/RtmprE6hU4’ ‘~/tmp/scratch/RtmprMk7SO’ ‘~/tmp/scratch/Rtmprak3NE’ ‘~/tmp/scratch/RtmpsGpRtq’ ‘~/tmp/scratch/RtmpsbrdI0’ ‘~/tmp/scratch/RtmptX5OVX’ ‘~/tmp/scratch/Rtmptmdm2w’ ‘~/tmp/scratch/RtmpuYdOwX’ ‘~/tmp/scratch/RtmpulUoge’ ‘~/tmp/scratch/RtmpvRZUCC’ ‘~/tmp/scratch/RtmpvTAcdV’ ‘~/tmp/scratch/RtmpvwHA4C’ ‘~/tmp/scratch/RtmpxRTknj’ ‘~/tmp/scratch/RtmpxeR6dk’ ‘~/tmp/scratch/RtmpxxLhUB’ ‘~/tmp/scratch/RtmpyYYvRW’ ‘~/tmp/scratch/RtmpzHeoBU’ ‘~/tmp/scratch/RtmpzY1zKb’ ‘~/tmp/scratch/RtmpzhgFtu’ ‘~/tmp/scratch/xvfb-run.0TuZfY’ ‘~/tmp/scratch/xvfb-run.298B4X’ ‘~/tmp/scratch/xvfb-run.2BTNez’ ‘~/tmp/scratch/xvfb-run.2nderQ’ ‘~/tmp/scratch/xvfb-run.3f8emk’ ‘~/tmp/scratch/xvfb-run.5CjfKe’ ‘~/tmp/scratch/xvfb-run.5YRJ24’ ‘~/tmp/scratch/xvfb-run.61QwDF’ ‘~/tmp/scratch/xvfb-run.6LGmzH’ ‘~/tmp/scratch/xvfb-run.7In4MW’ ‘~/tmp/scratch/xvfb-run.9x8R0c’ ‘~/tmp/scratch/xvfb-run.AXh46X’ ‘~/tmp/scratch/xvfb-run.BlVIFD’ ‘~/tmp/scratch/xvfb-run.C9gEIQ’ ‘~/tmp/scratch/xvfb-run.CB2VpM’ ‘~/tmp/scratch/xvfb-run.D6f4Pu’ ‘~/tmp/scratch/xvfb-run.DpXJcx’ ‘~/tmp/scratch/xvfb-run.Fcva8c’ ‘~/tmp/scratch/xvfb-run.FrMyEn’ ‘~/tmp/scratch/xvfb-run.GJSMqq’ ‘~/tmp/scratch/xvfb-run.HRV5ab’ ‘~/tmp/scratch/xvfb-run.NO8IkU’ ‘~/tmp/scratch/xvfb-run.NxmdhG’ ‘~/tmp/scratch/xvfb-run.P4cWjs’ ‘~/tmp/scratch/xvfb-run.PSDVM3’ ‘~/tmp/scratch/xvfb-run.QHK4un’ ‘~/tmp/scratch/xvfb-run.QTX05v’ ‘~/tmp/scratch/xvfb-run.RA03t2’ ‘~/tmp/scratch/xvfb-run.RMZG2p’ ‘~/tmp/scratch/xvfb-run.Sgz3Iz’ ‘~/tmp/scratch/xvfb-run.SmTdfn’ ‘~/tmp/scratch/xvfb-run.UYPNjm’ ‘~/tmp/scratch/xvfb-run.Xu6Cnx’ ‘~/tmp/scratch/xvfb-run.YQKpGp’ ‘~/tmp/scratch/xvfb-run.YubuAi’ ‘~/tmp/scratch/xvfb-run.Z45Snx’ ‘~/tmp/scratch/xvfb-run.aiwpoW’ ‘~/tmp/scratch/xvfb-run.b1BZKh’ ‘~/tmp/scratch/xvfb-run.bTMEox’ ‘~/tmp/scratch/xvfb-run.dR41mE’ ‘~/tmp/scratch/xvfb-run.dgHNz8’ ‘~/tmp/scratch/xvfb-run.dhn0rG’ ‘~/tmp/scratch/xvfb-run.doQxNa’ ‘~/tmp/scratch/xvfb-run.eJ1WFT’ ‘~/tmp/scratch/xvfb-run.fDt1zX’ ‘~/tmp/scratch/xvfb-run.fFtE3m’ ‘~/tmp/scratch/xvfb-run.hfCbeD’ ‘~/tmp/scratch/xvfb-run.ijnMdG’ ‘~/tmp/scratch/xvfb-run.jcB2KN’ ‘~/tmp/scratch/xvfb-run.jnHMTf’ ‘~/tmp/scratch/xvfb-run.jyOivn’ ‘~/tmp/scratch/xvfb-run.n4VBn4’ ‘~/tmp/scratch/xvfb-run.ovwx8z’ ‘~/tmp/scratch/xvfb-run.t4vgq2’ ‘~/tmp/scratch/xvfb-run.t57u0q’ ‘~/tmp/scratch/xvfb-run.uNokMX’ ‘~/tmp/scratch/xvfb-run.v5SCJF’ ‘~/tmp/scratch/xvfb-run.wPPmxi’ ‘~/tmp/scratch/xvfb-run.xzFWDv’ ‘~/tmp/scratch/xvfb-run.zCuK0G’ ‘~/.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