CRAN Package Check Results for Package constellation

Last updated on 2025-12-21 15:50:57 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0 2.97 45.84 48.81 ERROR
r-devel-linux-x86_64-debian-gcc 0.2.0 2.30 36.50 38.80 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.0 5.00 62.46 67.46 ERROR
r-devel-linux-x86_64-fedora-gcc 0.2.0 5.00 76.67 81.67 ERROR
r-devel-windows-x86_64 0.2.0 4.00 60.00 64.00 OK
r-patched-linux-x86_64 0.2.0 2.58 50.21 52.79 OK
r-release-linux-x86_64 0.2.0 2.96 52.69 55.65 OK
r-release-macos-arm64 0.2.0 OK
r-release-macos-x86_64 0.2.0 2.00 55.00 57.00 OK
r-release-windows-x86_64 0.2.0 4.00 58.00 62.00 OK
r-oldrel-macos-arm64 0.2.0 OK
r-oldrel-macos-x86_64 0.2.0 2.00 44.00 46.00 OK
r-oldrel-windows-x86_64 0.2.0 6.00 70.00 76.00 OK

Check Details

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘constellation-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: incidents > ### Title: Identify incident events separated by a minimum time window > ### Aliases: incidents > > ### ** Examples > > library(data.table) Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > systolic_bp <- as.data.table(vitals[VARIABLE == "SYSTOLIC_BP"]) > systolic_bp[, RECORDED_TIME := as.POSIXct(RECORDED_TIME, + format = "%Y-%m-%dT%H:%M:%SZ", tz = "UTC")] > > # Identify systolic blood pressure measurements for each patient that are > # separated by at least 24 hours > incidents(systolic_bp, window_hours = 24, join_key = "PAT_ID", + time_var = "RECORDED_TIME") Error in `[.data.table`(data, , `:=`(KEEP, get(time_var) >= (get(time_var)[1] + : attempt access index 4/4 in VECTOR_ELT Calls: incidents -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [5s/5s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(constellation) > > test_check("constellation") Saving _problems/test-incidents-47.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 107 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-incidents.R:45:3'): incidents produces expected values for test patient ── Error in ``[.data.table`(data, , `:=`(KEEP, get(time_var) >= (get(time_var)[1] + window_hours * 60 * 60)), by = join_key)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-incidents.R:45:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─constellation::incidents(...) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 107 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.2.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘identify_sepsis.Rmd’ using rmarkdown Quitting from identify_sepsis.Rmd:169-173 [sepsis_incidents] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 2/2 in VECTOR_ELT --- Backtrace: ▆ 1. └─constellation::incidents(...) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'identify_sepsis.Rmd' failed with diagnostics: attempt access index 2/2 in VECTOR_ELT --- failed re-building ‘identify_sepsis.Rmd’ SUMMARY: processing the following file failed: ‘identify_sepsis.Rmd’ Error: Vignette re-building failed. Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [4s/4s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(constellation) > > test_check("constellation") Saving _problems/test-incidents-47.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 107 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-incidents.R:45:3'): incidents produces expected values for test patient ── Error in ``[.data.table`(data, , `:=`(KEEP, get(time_var) >= (get(time_var)[1] + window_hours * 60 * 60)), by = join_key)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-incidents.R:45:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─constellation::incidents(...) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 107 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.0
Check: examples
Result: ERROR Running examples in ‘constellation-Ex.R’ failed The error most likely occurred in: > ### Name: incidents > ### Title: Identify incident events separated by a minimum time window > ### Aliases: incidents > > ### ** Examples > > library(data.table) Attaching package: ‘data.table’ The following object is masked from ‘package:base’: %notin% > systolic_bp <- as.data.table(vitals[VARIABLE == "SYSTOLIC_BP"]) > systolic_bp[, RECORDED_TIME := as.POSIXct(RECORDED_TIME, + format = "%Y-%m-%dT%H:%M:%SZ", tz = "UTC")] > > # Identify systolic blood pressure measurements for each patient that are > # separated by at least 24 hours > incidents(systolic_bp, window_hours = 24, join_key = "PAT_ID", + time_var = "RECORDED_TIME") Error in `[.data.table`(data, , `:=`(KEEP, get(time_var) >= (get(time_var)[1] + : attempt access index 4/4 in VECTOR_ELT Calls: incidents -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(constellation) > > test_check("constellation") Saving _problems/test-incidents-47.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 107 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-incidents.R:45:3'): incidents produces expected values for test patient ── Error in ``[.data.table`(data, , `:=`(KEEP, get(time_var) >= (get(time_var)[1] + window_hours * 60 * 60)), by = join_key)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-incidents.R:45:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─constellation::incidents(...) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 107 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.2.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘identify_sepsis.Rmd’ using rmarkdown Quitting from identify_sepsis.Rmd:169-173 [sepsis_incidents] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 2/2 in VECTOR_ELT --- Backtrace: ▆ 1. └─constellation::incidents(...) 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'identify_sepsis.Rmd' failed with diagnostics: attempt access index 2/2 in VECTOR_ELT --- failed re-building ‘identify_sepsis.Rmd’ SUMMARY: processing the following file failed: ‘identify_sepsis.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.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/14s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(constellation) > > test_check("constellation") Saving _problems/test-incidents-47.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 107 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-incidents.R:45:3'): incidents produces expected values for test patient ── Error in ``[.data.table`(data, , `:=`(KEEP, get(time_var) >= (get(time_var)[1] + window_hours * 60 * 60)), by = join_key)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. ├─testthat::expect_equal(...) at test-incidents.R:45:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─constellation::incidents(...) 5. ├─...[] 6. └─data.table:::`[.data.table`(...) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 107 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc