CRAN Package Check Results for Package akiFlagger

Last updated on 2025-12-20 17:50:20 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.0 4.79 40.70 45.49 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.0 3.59 29.89 33.48 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.0 9.00 59.66 68.66 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.0 62.66 ERROR
r-devel-windows-x86_64 0.3.0 7.00 57.00 64.00 OK
r-patched-linux-x86_64 0.3.0 4.27 39.30 43.57 OK
r-release-linux-x86_64 0.3.0 4.89 38.78 43.67 OK
r-release-macos-arm64 0.3.0 OK
r-release-macos-x86_64 0.3.0 3.00 39.00 42.00 OK
r-release-windows-x86_64 0.3.0 9.00 55.00 64.00 OK
r-oldrel-macos-arm64 0.3.0 OK
r-oldrel-macos-x86_64 0.3.0 3.00 33.00 36.00 OK
r-oldrel-windows-x86_64 0.3.0 9.00 66.00 75.00 OK

Check Details

Version: 0.3.0
Check: examples
Result: ERROR Running examples in ‘akiFlagger-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: returnAKIpatients > ### Title: Flag patients for AKI > ### Aliases: returnAKIpatients > > ### ** Examples > > returnAKIpatients(toy) Error in `[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, : attempt access index 4/4 in VECTOR_ELT Calls: returnAKIpatients -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(akiFlagger) > > test_check("akiFlagger") Saving _problems/test-returnAKIpatients-24.R Saving _problems/test-returnAKIpatients-45.R Saving _problems/test-returnAKIpatients-71.R Saving _problems/test-returnAKIpatients-96.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-returnAKIpatients.R:24:3'): Patient A - rolling minimum ──────── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df) at test-returnAKIpatients.R:24:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-returnAKIpatients.R:45:3'): Patient A - historical baseline ──── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df, HB_trumping = T) at test-returnAKIpatients.R:45:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-returnAKIpatients.R:71:3'): Patient B - rolling minimum ──────── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df, HB_trumping = F) at test-returnAKIpatients.R:71:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-returnAKIpatients.R:96:3'): Patient B - historical baseline ──── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df, HB_trumping = T) at test-returnAKIpatients.R:96:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ [1s/2s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(akiFlagger) > > test_check("akiFlagger") Saving _problems/test-returnAKIpatients-24.R Saving _problems/test-returnAKIpatients-45.R Saving _problems/test-returnAKIpatients-71.R Saving _problems/test-returnAKIpatients-96.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-returnAKIpatients.R:24:3'): Patient A - rolling minimum ──────── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df) at test-returnAKIpatients.R:24:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-returnAKIpatients.R:45:3'): Patient A - historical baseline ──── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df, HB_trumping = T) at test-returnAKIpatients.R:45:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-returnAKIpatients.R:71:3'): Patient B - rolling minimum ──────── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df, HB_trumping = F) at test-returnAKIpatients.R:71:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-returnAKIpatients.R:96:3'): Patient B - historical baseline ──── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df, HB_trumping = T) at test-returnAKIpatients.R:96:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.3.0
Check: examples
Result: ERROR Running examples in ‘akiFlagger-Ex.R’ failed The error most likely occurred in: > ### Name: returnAKIpatients > ### Title: Flag patients for AKI > ### Aliases: returnAKIpatients > > ### ** Examples > > returnAKIpatients(toy) Error in `[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, : attempt access index 4/4 in VECTOR_ELT Calls: returnAKIpatients -> [ -> [.data.table Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.3.0
Check: tests
Result: ERROR Running ‘testthat.R’ Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(akiFlagger) > > test_check("akiFlagger") Saving _problems/test-returnAKIpatients-24.R Saving _problems/test-returnAKIpatients-45.R Saving _problems/test-returnAKIpatients-71.R Saving _problems/test-returnAKIpatients-96.R [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-returnAKIpatients.R:24:3'): Patient A - rolling minimum ──────── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df) at test-returnAKIpatients.R:24:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-returnAKIpatients.R:45:3'): Patient A - historical baseline ──── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df, HB_trumping = T) at test-returnAKIpatients.R:45:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-returnAKIpatients.R:71:3'): Patient B - rolling minimum ──────── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df, HB_trumping = F) at test-returnAKIpatients.R:71:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) ── Error ('test-returnAKIpatients.R:96:3'): Patient B - historical baseline ──── Error in ``[.data.table`(df, , `:=`(min_creat48, sapply(.SD[, time], function(x) min(creatinine[between(.SD[, time], x - window1, x)]))), by = patient_id)`: attempt access index 4/4 in VECTOR_ELT Backtrace: ▆ 1. └─akiFlagger::returnAKIpatients(df, HB_trumping = T) at test-returnAKIpatients.R:96:3 2. ├─...[] 3. └─data.table:::`[.data.table`(...) [ FAIL 4 | WARN 0 | SKIP 0 | PASS 2 ] Error: ! Test failures. Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

mirror server hosted at Truenetwork, Russian Federation.