Last updated on 2025-12-28 01:49:13 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| clinDataReview | 3 | 10 | |
| clinUtils | 1 | 3 | 9 |
| inTextSummaryTable | 3 | 10 | |
| mpm | 13 | ||
| nlcv | 1 | 12 | |
| patientProfilesVis | 3 | 10 |
Current CRAN status: NOTE: 3, OK: 10
Version: 1.6.2
Check: installed package size
Result: NOTE
installed size is 5.7Mb
sub-directories of 1Mb or more:
doc 4.3Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: ERROR: 1, NOTE: 3, OK: 9
Version: 0.2.2
Check: examples
Result: ERROR
Running examples in 'clinUtils-Ex.R' failed
The error most likely occurred in:
> ### Name: compareTables
> ### Title: Compare tables
> ### Aliases: compareTables
>
> ### ** Examples
>
> ## Example 1
> # In this case the referenceVar 'a' is the same
> # the comparison highlights only as change in the variables 'c' and 'd'
> newData <- data.frame(
+ "a" = c(1, 2, 3, 4),
+ "b" = c(5, 6, 7, 8),
+ "c" = rep(1, 4),
+ "d" = rep(2, 4)
+ )
> oldData <- data.frame(
+ "a" = c(1, 2, 3, 4),
+ "b" = c(3, 4, 7, 8),
+ "c" = rep(2, 4),
+ "d" = rep(1, 4)
+ )
> compareTables(
+ newData = newData,
+ oldData = oldData,
+ referenceVars = "a",
+ changeableVars = c("c", "d")
+ )
Error in `[.data.table`(diffDataDetailed, , `:=`((colsDiff), { :
attempt access index 5/5 in VECTOR_ELT
Calls: compareTables ... exportDiffData -> formatDetailsComparison -> [ -> [.data.table
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.2
Check: tests
Result: ERROR
Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(clinUtils)
>
> test_check("clinUtils")
Saving _problems/test_compareTables-121.R
[ FAIL 6 | WARN 1 | SKIP 2 | PASS 289 ]
══ Skipped tests (2) ═══════════════════════════════════════════════════════════
• On CRAN (2): 'test_getClinDT.R:838:7', 'test_getClinDT.R:855:7'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_compareTables.R:118:7'): When reference columns are not specified, all columns are used as the reference ──
Error in ``[.data.table`(diffDataDetailed, , `:=`((colsDiff), { if (all(`Comparison type` == "Addition")) { as.list(rep("+", length(cols))) } else if (all(`Comparison type` == "Removal")) { as.list(rep("-", length(cols))) } else { lapply(.SD, function(x) { ifelse(uniqueN(x) == 1, "==", "!=") }) } }), .SDcols = cols, by = referenceVars)`: attempt access index 5/5 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_equal(...) at test_compareTables.R:118:7
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. └─clinUtils::compareTables(newData, oldData)
5. └─clinUtils::exportDiffData(...)
6. └─clinUtils:::formatDetailsComparison(...)
7. ├─...[]
8. └─data.table:::`[.data.table`(...)
── Error ('test_compareTables.R:266:7'): The difference dataset is exported correctly to an interactive table ──
Error in ``[.data.table`(diffDataDetailed, , `:=`((colsDiff), { if (all(`Comparison type` == "Addition")) { as.list(rep("+", length(cols))) } else if (all(`Comparison type` == "Removal")) { as.list(rep("-", length(cols))) } else { lapply(.SD, function(x) { ifelse(uniqueN(x) == 1, "==", "!=") }) } }), .SDcols = cols, by = referenceVars)`: attempt access index 5/5 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_silent(res <- exportDiffData(diffData)) at test_compareTables.R:266:7
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─clinUtils::exportDiffData(diffData)
10. └─clinUtils:::formatDetailsComparison(...)
11. ├─...[]
12. └─data.table:::`[.data.table`(...)
── Error ('test_compareTables.R:292:7'): The merged product of the difference dataset and new dataset is exported correctly to an interactive table ──
Error in ``[.data.table`(diffDataDetailed, , `:=`((colsDiff), { if (all(`Comparison type` == "Addition")) { as.list(rep("+", length(cols))) } else if (all(`Comparison type` == "Removal")) { as.list(rep("-", length(cols))) } else { lapply(.SD, function(x) { ifelse(uniqueN(x) == 1, "==", "!=") }) } }), .SDcols = cols, by = referenceVars)`: attempt access index 5/5 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_silent(res <- exportDiffData(diffData, newDataDiff = newDataDiff)) at test_compareTables.R:292:7
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─clinUtils::exportDiffData(diffData, newDataDiff = newDataDiff)
10. └─clinUtils:::formatDetailsComparison(...)
11. ├─...[]
12. └─data.table:::`[.data.table`(...)
── Error ('test_compareTables.R:316:7'): The merged product of the difference dataset and old dataset is exported correctly to an interactive table ──
Error in ``[.data.table`(diffDataDetailed, , `:=`((colsDiff), { if (all(`Comparison type` == "Addition")) { as.list(rep("+", length(cols))) } else if (all(`Comparison type` == "Removal")) { as.list(rep("-", length(cols))) } else { lapply(.SD, function(x) { ifelse(uniqueN(x) == 1, "==", "!=") }) } }), .SDcols = cols, by = referenceVars)`: attempt access index 5/5 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test_compareTables.R:316:7
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─clinUtils::compareTables(...)
10. └─clinUtils::exportDiffData(...)
11. └─clinUtils:::formatDetailsComparison(...)
12. ├─...[]
13. └─data.table:::`[.data.table`(...)
── Error ('test_compareTables.R:357:7'): A placeholder is displayed in the interactive table if there is no difference between the new and old data ──
Error in ``[.data.table`(diffDataDetailed, , `:=`((colsDiff), { if (all(`Comparison type` == "Addition")) { as.list(rep("+", length(cols))) } else if (all(`Comparison type` == "Removal")) { as.list(rep("-", length(cols))) } else { lapply(.SD, function(x) { ifelse(uniqueN(x) == 1, "==", "!=") }) } }), .SDcols = cols, by = referenceVars)`: attempt access index 3/3 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_silent(res <- exportDiffData(diffData)) at test_compareTables.R:357:7
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─clinUtils::exportDiffData(diffData)
10. └─clinUtils:::formatDetailsComparison(...)
11. ├─...[]
12. └─data.table:::`[.data.table`(...)
── Error ('test_compareTables.R:378:7'): Column names are renamed correctly in the interactive difference data table ──
Error in ``[.data.table`(diffDataDetailed, , `:=`((colsDiff), { if (all(`Comparison type` == "Addition")) { as.list(rep("+", length(cols))) } else if (all(`Comparison type` == "Removal")) { as.list(rep("-", length(cols))) } else { lapply(.SD, function(x) { ifelse(uniqueN(x) == 1, "==", "!=") }) } }), .SDcols = cols, by = referenceVars)`: attempt access index 5/5 in VECTOR_ELT
Backtrace:
▆
1. ├─testthat::expect_silent(...) at test_compareTables.R:378:7
2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise)
3. │ ├─testthat (local) .capture(...)
4. │ │ ├─withr::with_output_sink(...)
5. │ │ │ └─base::force(code)
6. │ │ ├─base::withCallingHandlers(...)
7. │ │ └─base::withVisible(code)
8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
9. └─clinUtils::exportDiffData(...)
10. └─clinUtils:::formatDetailsComparison(...)
11. ├─...[]
12. └─data.table:::`[.data.table`(...)
[ FAIL 6 | WARN 1 | SKIP 2 | PASS 289 ]
Error:
! Test failures.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.2
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building 'clinUtils-vignette.Rmd' using rmarkdown
Quitting from clinUtils-vignette.Rmd:339-366 [compareTables]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 8/8 in VECTOR_ELT
---
Backtrace:
▆
1. └─clinUtils::compareTables(...)
2. └─clinUtils::exportDiffData(...)
3. └─clinUtils:::formatDetailsComparison(...)
4. ├─...[]
5. └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'clinUtils-vignette.Rmd' failed with diagnostics:
attempt access index 8/8 in VECTOR_ELT
--- failed re-building 'clinUtils-vignette.Rmd'
SUMMARY: processing the following file failed:
'clinUtils-vignette.Rmd'
Error: Vignette re-building failed.
Execution halted
Flavor: r-devel-windows-x86_64
Version: 0.2.2
Check: installed package size
Result: NOTE
installed size is 7.7Mb
sub-directories of 1Mb or more:
doc 6.6Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 3, OK: 10
Version: 3.3.5
Check: installed package size
Result: NOTE
installed size is 10.3Mb
sub-directories of 1Mb or more:
doc 9.8Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.3.6
Check: package dependencies
Result: ERROR
Package required but not available: ‘MLInterfaces’
See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Flavor: r-release-macos-x86_64
Current CRAN status: NOTE: 3, OK: 10
Version: 2.0.10
Check: installed package size
Result: NOTE
installed size is 7.1Mb
sub-directories of 1Mb or more:
doc 6.7Mb
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.