CRAN Package Check Results for Package trtswitch

Last updated on 2025-12-20 09:50:05 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.2 330.28 178.61 508.89 OK
r-devel-linux-x86_64-debian-gcc 0.2.2 221.43 118.23 339.66 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.2 485.00 259.92 744.92 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.2 562.00 261.66 823.66 ERROR
r-devel-windows-x86_64 0.2.2 243.00 217.00 460.00 OK
r-patched-linux-x86_64 0.2.2 278.61 164.41 443.02 OK
r-release-linux-x86_64 0.2.2 282.77 165.59 448.36 OK
r-release-macos-arm64 0.2.1 85.00 -23.00 62.00 OK
r-release-macos-x86_64 0.2.2 141.00 143.00 284.00 OK
r-release-windows-x86_64 0.2.2 228.00 211.00 439.00 OK
r-oldrel-macos-arm64 0.2.2 51.00 17.00 68.00 NOTE
r-oldrel-macos-x86_64 0.2.2 138.00 181.00 319.00 NOTE
r-oldrel-windows-x86_64 0.2.2 285.00 287.00 572.00 OK

Check Details

Version: 0.2.2
Check: compiled code
Result: NOTE File ‘trtswitch/libs/trtswitch.so’: Found non-API call to R: ‘ATTRIB’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavors: r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.2
Check: examples
Result: ERROR Running examples in ‘trtswitch-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: preptdc > ### Title: Prepare Survival Data With Time-Dependent Covariates > ### Aliases: preptdc > > ### ** Examples > > > surv_data <- preptdc(adsl, adtdc, nodup = TRUE) Error in `[.data.table`(data3, , `:=`(temp_col = data.table::nafill(get(aval), : attempt access index 7/7 in VECTOR_ELT Calls: preptdc -> [ -> [.data.table Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.2
Check: examples
Result: ERROR Running examples in ‘trtswitch-Ex.R’ failed The error most likely occurred in: > ### Name: preptdc > ### Title: Prepare Survival Data With Time-Dependent Covariates > ### Aliases: preptdc > > ### ** Examples > > > surv_data <- preptdc(adsl, adtdc, nodup = TRUE) Error in `[.data.table`(data3, , `:=`(temp_col = data.table::nafill(get(aval), : attempt access index 7/7 in VECTOR_ELT Calls: preptdc -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.2
Check: installed package size
Result: NOTE installed size is 30.9Mb sub-directories of 1Mb or more: libs 29.9Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64