R Under development (unstable) (2024-01-24 r85824 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > # 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 8 | WARN 0 | SKIP 28 | PASS 83 ] ══ Skipped tests (28) ══════════════════════════════════════════════════════════ • On CRAN (28): 'test-CDMInterfaceDBC.R:8:3', 'test-CDMInterfaceDBC.R:27:3', 'test-CDMInterfaceDBC.R:40:3', 'test-CDMInterfaceDBC.R:67:3', 'test-CDMInterfaceDBC.R:93:3', 'test-CDMInterfaceDBC.R:129:3', 'test-PathwayConstructor.R:5:3', 'test-PathwayConstructor.R:20:3', 'test-PathwayConstructor.R:38:3', 'test-PathwayConstructor.R:59:3', 'test-PathwayConstructor.R:76:3', 'test-executeTreatmentPatterns.R:9:3', 'test-executeTreatmentPatterns.R:47:3', 'test-export.R:30:3', 'test-export.R:77:3', 'test-export.R:126:3', 'test-export.R:169:3', 'test-export.R:210:3', 'test-export.R:283:3', 'test-export.R:328:3', 'test-export.R:374:3', 'test-export.R:415:3', 'test-export.R:454:3', 'test-export.R:526:3', 'test-computePathways.R:8:3', 'test-computePathways.R:116:3', 'test-computePathways.R:132:3', 'test-computePathways.R:185:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-computePathways.R:32:3'): computePathways CDMConnector ───────── Error in `CDMConnector::generateCohortSet(cdm = cdm, cohortSet = cohortsSet, name = cohortTableName, computeAttrition = FALSE)`: The package "CirceR" is required. Backtrace: ▆ 1. └─TreatmentPatterns:::generateCohortTableCDMC() at test-computePathways.R:32:3 2. └─CDMConnector::generateCohortSet(...) at D:\RCompile\CRANincoming\R-devel\TreatmentPatterns.Rcheck\tests\testthat\helper-generateCohortTableCDMC.R:21:3 3. └─rlang::check_installed("CirceR") ── Error ('test-computePathways.R:53:3'): nrow exitCohorts > 0 ───────────────── Error in `CDMConnector::generateCohortSet(cdm = cdm, cohortSet = cohortsSet, name = cohortTableName, computeAttrition = FALSE)`: The package "CirceR" is required. Backtrace: ▆ 1. └─TreatmentPatterns:::generateCohortTableCDMC() at test-computePathways.R:53:3 2. └─CDMConnector::generateCohortSet(...) at D:\RCompile\CRANincoming\R-devel\TreatmentPatterns.Rcheck\tests\testthat\helper-generateCohortTableCDMC.R:21:3 3. └─rlang::check_installed("CirceR") ── Error ('test-computePathways.R:73:3'): includeTreatments ──────────────────── Error in `CDMConnector::generateCohortSet(cdm = cdm, cohortSet = cohortsSet, name = cohortTableName, computeAttrition = FALSE)`: The package "CirceR" is required. Backtrace: ▆ 1. └─TreatmentPatterns:::generateCohortTableCDMC() at test-computePathways.R:73:3 2. └─CDMConnector::generateCohortSet(...) at D:\RCompile\CRANincoming\R-devel\TreatmentPatterns.Rcheck\tests\testthat\helper-generateCohortTableCDMC.R:21:3 3. └─rlang::check_installed("CirceR") ── Error ('test-computePathways.R:148:3'): splitEventCohorts ─────────────────── Error in `CDMConnector::generateCohortSet(cdm = cdm, cohortSet = cohortsSet, name = cohortTableName, computeAttrition = FALSE)`: The package "CirceR" is required. Backtrace: ▆ 1. └─TreatmentPatterns:::generateCohortTableCDMC() at test-computePathways.R:148:3 2. └─CDMConnector::generateCohortSet(...) at D:\RCompile\CRANincoming\R-devel\TreatmentPatterns.Rcheck\tests\testthat\helper-generateCohortTableCDMC.R:21:3 3. └─rlang::check_installed("CirceR") ── Error ('test-computePathways.R:201:3'): eraCollapseSize ───────────────────── Error in `CDMConnector::generateCohortSet(cdm = cdm, cohortSet = cohortsSet, name = cohortTableName, computeAttrition = FALSE)`: The package "CirceR" is required. Backtrace: ▆ 1. └─TreatmentPatterns:::generateCohortTableCDMC() at test-computePathways.R:201:3 2. └─CDMConnector::generateCohortSet(...) at D:\RCompile\CRANincoming\R-devel\TreatmentPatterns.Rcheck\tests\testthat\helper-generateCohortTableCDMC.R:21:3 3. └─rlang::check_installed("CirceR") ── Error ('test-computePathways.R:232:3'): combinationWindow ─────────────────── Error in `CDMConnector::generateCohortSet(cdm = cdm, cohortSet = cohortsSet, name = cohortTableName, computeAttrition = FALSE)`: The package "CirceR" is required. Backtrace: ▆ 1. └─TreatmentPatterns:::generateCohortTableCDMC() at test-computePathways.R:232:3 2. └─CDMConnector::generateCohortSet(...) at D:\RCompile\CRANincoming\R-devel\TreatmentPatterns.Rcheck\tests\testthat\helper-generateCohortTableCDMC.R:21:3 3. └─rlang::check_installed("CirceR") ── Error ('test-computePathways.R:246:3'): minPostCombinationDuration ────────── Error in `CDMConnector::generateCohortSet(cdm = cdm, cohortSet = cohortsSet, name = cohortTableName, computeAttrition = FALSE)`: The package "CirceR" is required. Backtrace: ▆ 1. └─TreatmentPatterns:::generateCohortTableCDMC() at test-computePathways.R:246:3 2. └─CDMConnector::generateCohortSet(...) at D:\RCompile\CRANincoming\R-devel\TreatmentPatterns.Rcheck\tests\testthat\helper-generateCohortTableCDMC.R:21:3 3. └─rlang::check_installed("CirceR") ── Error ('test-computePathways.R:260:3'): filterTreatments ──────────────────── Error in `CDMConnector::generateCohortSet(cdm = cdm, cohortSet = cohortsSet, name = cohortTableName, computeAttrition = FALSE)`: The package "CirceR" is required. Backtrace: ▆ 1. └─TreatmentPatterns:::generateCohortTableCDMC() at test-computePathways.R:260:3 2. └─CDMConnector::generateCohortSet(...) at D:\RCompile\CRANincoming\R-devel\TreatmentPatterns.Rcheck\tests\testthat\helper-generateCohortTableCDMC.R:21:3 3. └─rlang::check_installed("CirceR") [ FAIL 8 | WARN 0 | SKIP 28 | PASS 83 ] Error: Test failures Execution halted