CRAN Package Check Results for Package jointCompRisk

Last updated on 2026-08-03 13:49:22 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.51 65.99 72.50 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/3s] 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/Rtmp05xeG4’ ‘~/tmp/scratch/Rtmp0IXZbt’ ‘~/tmp/scratch/Rtmp1i51mI’ ‘~/tmp/scratch/Rtmp1i6g8d’ ‘~/tmp/scratch/Rtmp1mv7Em’ ‘~/tmp/scratch/Rtmp1xdSay’ ‘~/tmp/scratch/Rtmp2NajK9’ ‘~/tmp/scratch/Rtmp2ts3GN’ ‘~/tmp/scratch/Rtmp3jHdkP’ ‘~/tmp/scratch/Rtmp40dYiv’ ‘~/tmp/scratch/Rtmp5uzkIG’ ‘~/tmp/scratch/Rtmp65eziE’ ‘~/tmp/scratch/Rtmp6doZM6’ ‘~/tmp/scratch/Rtmp6gKuce’ ‘~/tmp/scratch/Rtmp70dAop’ ‘~/tmp/scratch/Rtmp7Cd6nw’ ‘~/tmp/scratch/Rtmp7qWPte’ ‘~/tmp/scratch/Rtmp7z5Ta0’ ‘~/tmp/scratch/Rtmp8YjU3d’ ‘~/tmp/scratch/Rtmp9OPY0v’ ‘~/tmp/scratch/Rtmp9Pknzy’ ‘~/tmp/scratch/RtmpC8HaNG’ ‘~/tmp/scratch/RtmpCTnCAk’ ‘~/tmp/scratch/RtmpCuhpku’ ‘~/tmp/scratch/RtmpD6Kgkm’ ‘~/tmp/scratch/RtmpDDwAqx’ ‘~/tmp/scratch/RtmpDZpLKu’ ‘~/tmp/scratch/RtmpEEPgCO’ ‘~/tmp/scratch/RtmpEP7CPJ’ ‘~/tmp/scratch/RtmpFSvwRq’ ‘~/tmp/scratch/RtmpFYNUhm’ ‘~/tmp/scratch/RtmpGEX3Xt’ ‘~/tmp/scratch/RtmpGIIIPH’ ‘~/tmp/scratch/RtmpGcUBNP’ ‘~/tmp/scratch/RtmpI15eBT’ ‘~/tmp/scratch/RtmpIHJTB4’ ‘~/tmp/scratch/RtmpIa8ImF’ ‘~/tmp/scratch/RtmpIibiUp’ ‘~/tmp/scratch/RtmpJLcHVE’ ‘~/tmp/scratch/RtmpJhL8CO’ ‘~/tmp/scratch/RtmpKNGWs7’ ‘~/tmp/scratch/RtmpKpcyBy’ ‘~/tmp/scratch/RtmpKw1nKa’ ‘~/tmp/scratch/RtmpL2jXIN’ ‘~/tmp/scratch/RtmpLbdeOT’ ‘~/tmp/scratch/RtmpLkVMjC’ ‘~/tmp/scratch/RtmpM79iMy’ ‘~/tmp/scratch/RtmpMBit3j’ ‘~/tmp/scratch/RtmpNP3l7R’ ‘~/tmp/scratch/RtmpNhTHA4’ ‘~/tmp/scratch/RtmpOBmLBw’ ‘~/tmp/scratch/RtmpODn1fV’ ‘~/tmp/scratch/RtmpPM31to’ ‘~/tmp/scratch/RtmpPg2onC’ ‘~/tmp/scratch/RtmpS3qNI9’ ‘~/tmp/scratch/RtmpSM88go’ ‘~/tmp/scratch/RtmpSTQsXP’ ‘~/tmp/scratch/RtmpTWtJyq’ ‘~/tmp/scratch/RtmpTd8wmN’ ‘~/tmp/scratch/RtmpUcx8sm’ ‘~/tmp/scratch/RtmpUdheIw’ ‘~/tmp/scratch/RtmpUyvXFl’ ‘~/tmp/scratch/RtmpV8gTQd’ ‘~/tmp/scratch/RtmpVFrwRN’ ‘~/tmp/scratch/RtmpWIgpK7’ ‘~/tmp/scratch/RtmpWL7aAJ’ ‘~/tmp/scratch/RtmpWSopa1’ ‘~/tmp/scratch/RtmpWl5Jrr’ ‘~/tmp/scratch/RtmpXzXepY’ ‘~/tmp/scratch/RtmpXzvTHE’ ‘~/tmp/scratch/RtmpY7uW2g’ ‘~/tmp/scratch/RtmpYbcf2W’ ‘~/tmp/scratch/RtmpZ4MRHj’ ‘~/tmp/scratch/RtmpZKxohs’ ‘~/tmp/scratch/RtmpZh0UsN’ ‘~/tmp/scratch/RtmpZsC8xA’ ‘~/tmp/scratch/RtmpayHYZd’ ‘~/tmp/scratch/RtmpbY35f6’ ‘~/tmp/scratch/RtmpbnH6Hg’ ‘~/tmp/scratch/RtmpcCEs6d’ ‘~/tmp/scratch/RtmpcFoujx’ ‘~/tmp/scratch/RtmpcGnixu’ ‘~/tmp/scratch/RtmpcPtncB’ ‘~/tmp/scratch/RtmpccpseR’ ‘~/tmp/scratch/RtmpcsElCR’ ‘~/tmp/scratch/RtmpcvufYK’ ‘~/tmp/scratch/RtmpdMc0aL’ ‘~/tmp/scratch/RtmpdPtPyv’ ‘~/tmp/scratch/RtmpdjAeq0’ ‘~/tmp/scratch/Rtmpe7Rv8O’ ‘~/tmp/scratch/Rtmpec4iB3’ ‘~/tmp/scratch/Rtmpet59bA’ ‘~/tmp/scratch/Rtmpg8dPfA’ ‘~/tmp/scratch/RtmphIKuLA’ ‘~/tmp/scratch/Rtmphqf7WC’ ‘~/tmp/scratch/RtmpiCAGyJ’ ‘~/tmp/scratch/RtmpiaIEfg’ ‘~/tmp/scratch/Rtmpir9fyC’ ‘~/tmp/scratch/Rtmpjy396f’ ‘~/tmp/scratch/RtmpkeBhue’ ‘~/tmp/scratch/Rtmpl8gEtU’ ‘~/tmp/scratch/RtmpmqWcFq’ ‘~/tmp/scratch/Rtmpmr873t’ ‘~/tmp/scratch/Rtmpnziq5U’ ‘~/tmp/scratch/Rtmpo4ss8X’ ‘~/tmp/scratch/RtmpoE9H41’ ‘~/tmp/scratch/RtmpofWndf’ ‘~/tmp/scratch/RtmppCNFAd’ ‘~/tmp/scratch/RtmppieyfA’ ‘~/tmp/scratch/RtmpqaWxvo’ ‘~/tmp/scratch/RtmpqdAqx9’ ‘~/tmp/scratch/Rtmpr0sJde’ ‘~/tmp/scratch/RtmprLTOCp’ ‘~/tmp/scratch/RtmpreGnj7’ ‘~/tmp/scratch/RtmprzsTrH’ ‘~/tmp/scratch/Rtmps1MV4T’ ‘~/tmp/scratch/RtmpswfG6b’ ‘~/tmp/scratch/RtmptGxj1F’ ‘~/tmp/scratch/RtmptKtLSf’ ‘~/tmp/scratch/RtmpuG37jw’ ‘~/tmp/scratch/RtmputlMlb’ ‘~/tmp/scratch/RtmpuvPCgG’ ‘~/tmp/scratch/RtmpvMO9ue’ ‘~/tmp/scratch/RtmpvkMR5m’ ‘~/tmp/scratch/RtmpvsesrX’ ‘~/tmp/scratch/RtmpvtM7b9’ ‘~/tmp/scratch/Rtmpx336z2’ ‘~/tmp/scratch/RtmpxIn7te’ ‘~/tmp/scratch/RtmpxLm0dS’ ‘~/tmp/scratch/RtmpxNh3FM’ ‘~/tmp/scratch/RtmpxXMYDN’ ‘~/tmp/scratch/RtmpxbB00r’ ‘~/tmp/scratch/RtmpyJQEjr’ ‘~/tmp/scratch/RtmpzcsCzW’ ‘~/tmp/scratch/xvfb-run.0cAVur’ ‘~/tmp/scratch/xvfb-run.2bTQwR’ ‘~/tmp/scratch/xvfb-run.3SQWse’ ‘~/tmp/scratch/xvfb-run.6IzCYe’ ‘~/tmp/scratch/xvfb-run.9WfEan’ ‘~/tmp/scratch/xvfb-run.AFUhQz’ ‘~/tmp/scratch/xvfb-run.AUf2ZK’ ‘~/tmp/scratch/xvfb-run.BebmjF’ ‘~/tmp/scratch/xvfb-run.Ci6lUL’ ‘~/tmp/scratch/xvfb-run.FWcdw5’ ‘~/tmp/scratch/xvfb-run.FjEDNW’ ‘~/tmp/scratch/xvfb-run.GBWyF3’ ‘~/tmp/scratch/xvfb-run.GTWUnX’ ‘~/tmp/scratch/xvfb-run.GgbHIe’ ‘~/tmp/scratch/xvfb-run.HcktJE’ ‘~/tmp/scratch/xvfb-run.JGmZ6g’ ‘~/tmp/scratch/xvfb-run.KiB929’ ‘~/tmp/scratch/xvfb-run.LJeVG3’ ‘~/tmp/scratch/xvfb-run.LNpELs’ ‘~/tmp/scratch/xvfb-run.MSUH8i’ ‘~/tmp/scratch/xvfb-run.Mc57lm’ ‘~/tmp/scratch/xvfb-run.Pur3Gv’ ‘~/tmp/scratch/xvfb-run.QeWrax’ ‘~/tmp/scratch/xvfb-run.R84wae’ ‘~/tmp/scratch/xvfb-run.Teez5N’ ‘~/tmp/scratch/xvfb-run.V8IsvG’ ‘~/tmp/scratch/xvfb-run.VXgKwQ’ ‘~/tmp/scratch/xvfb-run.W3C8Ae’ ‘~/tmp/scratch/xvfb-run.W8VOsj’ ‘~/tmp/scratch/xvfb-run.Y7bUoL’ ‘~/tmp/scratch/xvfb-run.ZeWixr’ ‘~/tmp/scratch/xvfb-run.ZurVlU’ ‘~/tmp/scratch/xvfb-run.cZeahi’ ‘~/tmp/scratch/xvfb-run.cclC3U’ ‘~/tmp/scratch/xvfb-run.cgzi5y’ ‘~/tmp/scratch/xvfb-run.dPTwfb’ ‘~/tmp/scratch/xvfb-run.eKte0M’ ‘~/tmp/scratch/xvfb-run.eP8dO7’ ‘~/tmp/scratch/xvfb-run.fHBlg9’ ‘~/tmp/scratch/xvfb-run.gngv07’ ‘~/tmp/scratch/xvfb-run.hEOiCc’ ‘~/tmp/scratch/xvfb-run.jl9sdN’ ‘~/tmp/scratch/xvfb-run.kA8tMX’ ‘~/tmp/scratch/xvfb-run.kYqMGz’ ‘~/tmp/scratch/xvfb-run.knJ7NE’ ‘~/tmp/scratch/xvfb-run.meDfAx’ ‘~/tmp/scratch/xvfb-run.nemPA1’ ‘~/tmp/scratch/xvfb-run.oBIDxw’ ‘~/tmp/scratch/xvfb-run.rzb9Lr’ ‘~/tmp/scratch/xvfb-run.srvZtZ’ ‘~/tmp/scratch/xvfb-run.ssoahf’ ‘~/tmp/scratch/xvfb-run.tY16hk’ ‘~/tmp/scratch/xvfb-run.u11f8I’ ‘~/tmp/scratch/xvfb-run.umTJD1’ ‘~/tmp/scratch/xvfb-run.usXuX6’ ‘~/tmp/scratch/xvfb-run.x6dCGM’ ‘~/tmp/scratch/xvfb-run.xNqkP2’ ‘~/tmp/scratch/xvfb-run.yB86sK’ ‘~/tmp/scratch/xvfb-run.yTXN2m’ ‘~/.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