CRAN Package Check Results for Package TreatmentPatterns

Last updated on 2025-05-19 19:50:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 3.0.3 11.41 945.77 957.18 OK
r-devel-linux-x86_64-debian-gcc 3.0.3 7.80 749.24 757.04 OK
r-devel-linux-x86_64-fedora-clang 3.0.3 1491.73 ERROR
r-devel-linux-x86_64-fedora-gcc 3.0.3 1546.97 ERROR
r-devel-windows-x86_64 3.0.3 14.00 671.00 685.00 OK
r-patched-linux-x86_64 3.0.3 12.36 886.29 898.65 OK
r-release-linux-x86_64 3.0.3 10.28 897.06 907.34 OK
r-release-macos-arm64 3.0.3 202.00 OK
r-release-macos-x86_64 3.0.3 411.00 OK
r-release-windows-x86_64 3.0.3 12.00 676.00 688.00 OK
r-oldrel-macos-arm64 3.0.3 280.00 OK
r-oldrel-macos-x86_64 3.0.3 438.00 OK
r-oldrel-windows-x86_64 3.0.3 17.00 864.00 881.00 OK

Check Details

Version: 3.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [22m/18m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(TreatmentPatterns) > > test_check("TreatmentPatterns") Starting 2 test processes [ FAIL 1 | WARN 6 | SKIP 60 | PASS 170 ] ══ Skipped tests (60) ══════════════════════════════════════════════════════════ • Eunomia [2.0.0] bug (8): 'test-CDMInterfaceDBC.R:6:3', 'test-CDMInterfaceDBC.R:24:3', 'test-CDMInterfaceDBC.R:53:3', 'test-CDMInterfaceDBC.R:80:3', 'test-CDMInterfaceDBC.R:117:3', 'test-multipleCohortTables.R:68:3', 'test-computePathways.R:8:3', 'test-computePathways.R:53:3' • On CRAN (45): 'test-CDMInterface.R:7:3', 'test-export.R:314:3', 'test-export.R:381:3', 'test-export.R:428:3', 'test-export.R:470:3', 'test-export.R:514:3', 'test-export.R:589:3', 'test-export.R:657:3', 'test-export.R:685:3', 'test-pathwaysLogical.R:8:3', 'test-pathwaysLogical.R:50:3', 'test-pathwaysLogical.R:94:3', 'test-pathwaysLogical.R:138:3', 'test-pathwaysLogical.R:182:3', 'test-pathwaysLogical.R:225:3', 'test-pathwaysLogical.R:270:3', 'test-pathwaysLogical.R:315:3', 'test-pathwaysLogical.R:359:3', 'test-pathwaysLogical.R:403:3', 'test-pathwaysLogical.R:447:3', 'test-pathwaysLogical.R:491:3', 'test-pathwaysLogical.R:535:3', 'test-pathwaysLogical.R:579:3', 'test-pathwaysLogical.R:624:3', 'test-pathwaysLogical.R:669:3', 'test-pathwaysLogical.R:712:3', 'test-pathwaysLogical.R:755:3', 'test-pathwaysLogical.R:800:3', 'test-pathwaysLogical.R:845:3', 'test-pathwaysLogical.R:886:3', 'test-pathwaysLogical.R:929:3', 'test-pathwaysLogical.R:971:3', 'test-pathwaysLogical.R:1013:3', 'test-pathwaysLogical.R:1055:3', 'test-pathwaysLogical.R:1098:3', 'test-pathwaysLogical.R:1144:3', 'test-pathwaysLogical.R:1188:3', 'test-pathwaysLogical.R:1232:3', 'test-pathwaysLogical.R:1276:3', 'test-pathwaysLogical.R:1322:3', 'test-pathwaysLogical.R:1369:3', 'test-pathwaysLogical.R:1416:3', 'test-pathwaysLogical.R:1462:3', 'test-pathwaysMultipleTargetsLogical.R:19:3', 'test-pathwaysMultipleTargetsLogical.R:225:3' • On Linux (7): 'test-executeTreatmentPatterns.R:10:3', 'test-export.R:30:3', 'test-export.R:99:3', 'test-export.R:149:3', 'test-export.R:193:3', 'test-export.R:237:3', 'test-computePathways.R:715:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-CDMInterfaceCDMC.R:92:3'): Method: fetchCohortTable ──────────── Error: unable to find an inherited method for function 'dbWriteTable' for signature 'conn = "Andromeda", name = "character", value = "cohort_table"' Backtrace: ▆ 1. └─cdmInterface$fetchCohortTable(...) at test-CDMInterfaceCDMC.R:92:3 2. └─private$cdmconFetchCohortTable(...) 3. ├─methods (local) `$<-`(`*tmp*`, "tbl_temp", value = `<chrt_tbl[,7]>`) 4. └─Andromeda (local) `$<-`(`*tmp*`, "tbl_temp", value = `<chrt_tbl[,7]>`) 5. ├─methods (local) `[[<-`(`*tmp*`, name, value = `<chrt_tbl[,7]>`) 6. └─Andromeda (local) `[[<-`(`*tmp*`, name, value = `<chrt_tbl[,7]>`) 7. └─Andromeda (local) .local(x, i, ..., value) 8. └─duckdb::dbWriteTable(...) 9. └─methods (local) `<fn>`(`<list>`, `<stndrdGn>`, `<env>`) [ FAIL 1 | WARN 6 | SKIP 60 | PASS 170 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 3.0.3
Check: tests
Result: ERROR Running ‘testthat.R’ [23m/30m] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(TreatmentPatterns) > > test_check("TreatmentPatterns") Starting 2 test processes [ FAIL 1 | WARN 6 | SKIP 60 | PASS 170 ] ══ Skipped tests (60) ══════════════════════════════════════════════════════════ • Eunomia [2.0.0] bug (8): 'test-CDMInterfaceDBC.R:6:3', 'test-CDMInterfaceDBC.R:24:3', 'test-CDMInterfaceDBC.R:53:3', 'test-CDMInterfaceDBC.R:80:3', 'test-CDMInterfaceDBC.R:117:3', 'test-multipleCohortTables.R:68:3', 'test-computePathways.R:8:3', 'test-computePathways.R:53:3' • On CRAN (45): 'test-CDMInterface.R:7:3', 'test-export.R:314:3', 'test-export.R:381:3', 'test-export.R:428:3', 'test-export.R:470:3', 'test-export.R:514:3', 'test-export.R:589:3', 'test-export.R:657:3', 'test-export.R:685:3', 'test-pathwaysLogical.R:8:3', 'test-pathwaysLogical.R:50:3', 'test-pathwaysLogical.R:94:3', 'test-pathwaysLogical.R:138:3', 'test-pathwaysLogical.R:182:3', 'test-pathwaysLogical.R:225:3', 'test-pathwaysLogical.R:270:3', 'test-pathwaysLogical.R:315:3', 'test-pathwaysLogical.R:359:3', 'test-pathwaysLogical.R:403:3', 'test-pathwaysLogical.R:447:3', 'test-pathwaysLogical.R:491:3', 'test-pathwaysLogical.R:535:3', 'test-pathwaysLogical.R:579:3', 'test-pathwaysLogical.R:624:3', 'test-pathwaysLogical.R:669:3', 'test-pathwaysLogical.R:712:3', 'test-pathwaysLogical.R:755:3', 'test-pathwaysLogical.R:800:3', 'test-pathwaysLogical.R:845:3', 'test-pathwaysLogical.R:886:3', 'test-pathwaysLogical.R:929:3', 'test-pathwaysLogical.R:971:3', 'test-pathwaysLogical.R:1013:3', 'test-pathwaysLogical.R:1055:3', 'test-pathwaysLogical.R:1098:3', 'test-pathwaysLogical.R:1144:3', 'test-pathwaysLogical.R:1188:3', 'test-pathwaysLogical.R:1232:3', 'test-pathwaysLogical.R:1276:3', 'test-pathwaysLogical.R:1322:3', 'test-pathwaysLogical.R:1369:3', 'test-pathwaysLogical.R:1416:3', 'test-pathwaysLogical.R:1462:3', 'test-pathwaysMultipleTargetsLogical.R:19:3', 'test-pathwaysMultipleTargetsLogical.R:225:3' • On Linux (7): 'test-executeTreatmentPatterns.R:10:3', 'test-export.R:30:3', 'test-export.R:99:3', 'test-export.R:149:3', 'test-export.R:193:3', 'test-export.R:237:3', 'test-computePathways.R:715:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-CDMInterfaceCDMC.R:92:3'): Method: fetchCohortTable ──────────── Error: unable to find an inherited method for function 'dbWriteTable' for signature 'conn = "Andromeda", name = "character", value = "cohort_table"' Backtrace: ▆ 1. └─cdmInterface$fetchCohortTable(...) at test-CDMInterfaceCDMC.R:92:3 2. └─private$cdmconFetchCohortTable(...) 3. ├─methods (local) `$<-`(`*tmp*`, "tbl_temp", value = `<chrt_tbl[,7]>`) 4. └─Andromeda (local) `$<-`(`*tmp*`, "tbl_temp", value = `<chrt_tbl[,7]>`) 5. ├─methods (local) `[[<-`(`*tmp*`, name, value = `<chrt_tbl[,7]>`) 6. └─Andromeda (local) `[[<-`(`*tmp*`, name, value = `<chrt_tbl[,7]>`) 7. └─Andromeda (local) .local(x, i, ..., value) 8. └─duckdb::dbWriteTable(...) 9. └─methods (local) `<fn>`(`<list>`, `<stndrdGn>`, `<env>`) [ FAIL 1 | WARN 6 | SKIP 60 | PASS 170 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc