Running ‘spelling.R’
  Running ‘testthat.R’ [14m/11m]
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(CohortCharacteristics)
  > 
  > test_check("CohortCharacteristics")
  Starting 2 test processes.
  > test-plotCohortTiming.R: i The following estimates will be calculated:
  > test-plotCohortTiming.R: * days_between_cohort_entries: min, q25, median, q75, max, density
  > test-plotCohortTiming.R: ! Table is collected to memory as not all requested estimates are supported on the database side
  > test-plotCohortTiming.R: > Start summary of data, at 2026-03-15 19:00:49.871974
  > test-plotCohortTiming.R: v Summary finished, at 2026-03-15 19:00:50.882409
  > test-plotCohortTiming.R: `result_id` is not present in result.
  > test-plotCohortTiming.R: `result_id` is not present in result.
  > test-plotCohortTiming.R: `result_id` is not present in result.
  > test-plotCohortTiming.R: `result_id` is not present in result.
  Saving _problems/test-plotCohortTiming-245.R
  > test-plotCohortAttrition.R: i The following estimates will be calculated:
  > test-plotCohortAttrition.R: * cohort_end_date: min, q25, median, q75, max
  > test-plotCohortAttrition.R: * cohort_start_date: min, q25, media
  > test-plotCohortAttrition.R: n, q75, max
  > test-plotCohortAttrition.R: ! Table is collected to memory as not all requested estimates are supported on the database side
  > test-plotCohortAttrition.R: > Start summary of data, at 2026-03-15 19:01:05.478079
  > test-plotCohortAttrition.R: v Summary finished, at 2026-03-15 19:01:05.729515
  > test-plotLargeScaleCharacteristics.R: i Summarising large scale characteristics 
  > test-plotLargeScaleCharacteristics.R:  - getting characteristics from table condition_occurrence (1 of 1)
  > test-plotLargeScaleCharacteristics.R:  - getting characteristics from table condition_occurrence (1 of 1) for time ...
  > test-plotLargeScaleCharacteristics.R:  - getting characteristics from table condition_occurrence (1 of 1) for time ...
  > test-plotLargeScaleCharacteristics.R:  - getting characteristics from table condition_occurrence (1 of 1) for time ...
  > test-plotLargeScaleCharacteristics.R:  - getting characteristics from table condition_occurrence (1 of 1) for time ...
  > test-plotLargeScaleCharacteristics.R:  - getting characteristics from table condition_occurrence (1 of 1) for time ...
  > test-plotLargeScaleCharacteristics.R:  - getting characteristics from table condition_occurrence (1 of 1) for time ...
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-plotLargeScaleCharacteristics.R:  - getting characteristics from table condition_occurrence (1 of 1) for time ...
  > test-plotLargeScaleCharacteristics.R: Formatting result
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/2
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-365 to 0` -> `365_to_0`
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 2/2
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to 0` -> `inf_to_0`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/3
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 2/3
  > test-plotLargeScaleCharacteristics.R: v Summarising large scale characteristics
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 3/3
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to 0` -> `inf_to_0`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-365 to 0` -> `365_to_0`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-365 to 0` -> `365_to_0`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/1
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCohortOverlap.R: Cohort table is empty: returning empty summarised result.
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/1
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/1
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/2
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-365 to 0` -> `365_to_0`
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 2/2
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to 0` -> `inf_to_0`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: i summarising cohort cohort_2
  > test-summariseCharacteristics.R: i summarising cohort cohort_3
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding tableIntersectFlag 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-365 to 0` -> `365_to_0`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: i summarising cohort cohort_2
  > test-summariseCharacteristics.R: i summarising cohort cohort_3
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/2
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-365 to 0` -> `365_to_0`
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 2/2
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to 0` -> `inf_to_0`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCohortOverlap.R: `result_id` is not present in result.
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCohortOverlap.R: `result_id` is not present in result.
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/2
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-365 to 0` -> `365_to_0`
  > test-summariseCohortOverlap.R: `result_id` is not present in result.
  > test-summariseCohortOverlap.R: `result_id` is not present in result.
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 2/2
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to 0` -> `inf_to_0`
  > test-summariseCohortOverlap.R: `result_id` is not present in result.
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCohortTiming.R: Cohort table is empty: returning empty summarised timing result.
  > test-summariseCohortTiming.R: i The following estimates will be calculated:
  > test-summariseCohortTiming.R: * days_between_cohort_entries: min, q25, median, q75, max, density
  > test-summariseCohortTiming.R: ! Table is collected to memory as not all requested estimates are supported on the database side
  > test-summariseCohortTiming.R: > Start summary of data, at 2026-03-15 19:07:26.86481
  > test-summariseCohortTiming.R: v Summary finished, at 2026-03-15 19:07:28.218159
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding tableIntersectCount 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to -1` -> `inf_to_1`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCohortTiming.R: i The following estimates will be calculated:
  > test-summariseCohortTiming.R: * days_between_cohort_entries: min, q25, median, q75, max
  > test-summariseCohortTiming.R: ! Table is collected to memory as not all requested estimates are supported on the database side
  > test-summariseCohortTiming.R: > Start summary of data, at 2026-03-15 19:07:51.705817
  > test-summariseCohortTiming.R: v Summary finished, at 2026-03-15 19:07:53.666439
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  Saving _problems/test-summariseCohortTiming-63.R
  > test-utilities.R: `group` is not present in settings.
  > test-utilities.R: `group` is not present in settings.
  > test-utilities.R: `group` is not present in settings.
  > test-summariseCharacteristics.R: i adding tableIntersectFlag 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to -1` -> `inf_to_1`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding tableIntersectDate 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to -1` -> `inf_to_1`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding tableIntersectDays 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `1 to Inf` -> `1_to_inf`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort exposed
  > test-summariseCharacteristics.R: i summarising cohort unexposed
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectCount 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to -1` -> `inf_to_1`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to -1` -> `inf_to_1`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectDate 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-Inf to -1` -> `inf_to_1`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectDays 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `1 to Inf` -> `1_to_inf`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-365 to -1` -> `365_to_1`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: i summarising cohort cohort_2
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  > test-summariseCharacteristics.R: i adding demographics columns
  > test-summariseCharacteristics.R: i adding cohortIntersectFlag 1/1
  > test-summariseCharacteristics.R: window names casted to snake_case:
  > test-summariseCharacteristics.R: * `-365 to -1` -> `365_to_1`
  > test-summariseCharacteristics.R: i summarising data
  > test-summariseCharacteristics.R: i summarising cohort cohort_1
  > test-summariseCharacteristics.R: i summarising cohort cohort_2
  > test-summariseCharacteristics.R: v summariseCharacteristics finished!
  [ FAIL 2 | WARN 16 | SKIP 24 | PASS 218 ]
  
  ══ Skipped tests (24) ══════════════════════════════════════════════════════════
  • On CRAN (22): 'test-benchmarkCohortCharacteristics.R:2:3',
    'test-plotCharacteristics.R:2:3', 'test-plotCharacteristics.R:176:3',
    'test-plotCohortCount.R:2:3', 'test-plotCohortOverlap.R:2:3',
    'test-plotCohortTiming.R:2:3', 'test-plotCohortTiming.R:100:3',
    'test-plotLargeScaleCharacteristics.R:3:3',
    'test-summariseCohortCount.R:2:3',
    'test-summariseLargeScaleCharacteristics.R:2:3', 'test-table.R:2:3',
    'test-tableCharacteristics.R:2:3', 'test-tableCharacteristics.R:124:3',
    'test-tableCohortAttrition.R:2:3', 'test-tableCohortCount.R:2:3',
    'test-tableCohortOverlap.R:2:3', 'test-tableCohortTiming.R:2:3',
    'test-tableLargeScaleCharacteristics.R:2:3',
    'test-tableLargeScaleCharacteristics.R:80:3',
    'test-summariseCharacteristics.R:1180:3',
    'test-summariseCharacteristics.R:1425:3',
    'test-summariseCharacteristics.R:1552:3'
  • empty test (2): 'test-plotLargeScaleCharacteristics.R:140:1',
    'test-summariseCohortTiming.R:114:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-plotCohortTiming.R:245:3'): plotCohortTiming, density x axis ───
  Error in `dplyr::collect(x)`: Failed to collect lazy table.
  Caused by error in `dbSendQuery()`:
  ! INTERNAL Error: Failed to bind column reference "cohort_start_date_comparator" [24.0]: inequal types (DATE != INTEGER)
  
  Stack Trace:
  
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::InternalException::InternalException(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)+0x34) [0x7fa56e474004]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::InternalException::InternalException<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&, unsigned long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&, unsigned long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&)+0xa6) [0x7fa56e81ef26]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitReplace(duckdb::BoundColumnRefExpression&, duckdb::unique_ptr<duckdb::Expression, std::__1::default_delete<duckdb::Expression>, true>*)+0x298) [0x7fa56e801748]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitExpression(duckdb::unique_ptr<duckdb::Expression, std::__1::default_delete<duckdb::Expression>, true>*)+0x1c7) [0x7fa56f35cbd7]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::EnumerateExpressions(duckdb::LogicalOperator&, std::__1::function<void (duckdb::unique_ptr<duckdb::Expression, std::__1::default_delete<duckdb::Expression>, true>*)> const&)+0x6fb) [0x7fa56f35c89b]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitOperatorExpressions(duckdb::LogicalOperator&)+0x2a) [0x7fa56f35b89a]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0x7c0) [0x7fa56e801220]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0xe6) [0x7fa56e800b46]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitOperatorChildren(duckdb::LogicalOperator&)+0x54) [0x7fa56f35b834]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0x7b5) [0x7fa56e801215]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitOperatorChildren(duckdb::LogicalOperator&)+0x54) [0x7fa56f35b834]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0x7b5) [0x7fa56e801215]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitOperatorChildren(duckdb::LogicalOperator&)+0x54) [0x7fa56f35b834]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0x7b5) [0x7fa56e801215]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::PhysicalPlanGenerator::ResolveAndPlan(duckdb::unique_ptr<duckdb::LogicalOperator, std::__1::default_delete<duckdb::LogicalOperator>, true>)+0x75) [0x7fa56e815d95]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::PhysicalPlanGenerator::Plan(duckdb::unique_ptr<duckdb::LogicalOperator, std::__1::default_delete<duckdb::LogicalOperator>, true>)+0x2b) [0x7fa56e815cab]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::CreatePreparedStatementInternal(duckdb::ClientContextLock&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>, duckdb::PendingQueryParameters)+0x655) [0x7fa56f099ac5]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::CreatePreparedStatement(duckdb::ClientContextLock&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>, duckdb::PendingQueryParameters, duckdb::PreparedStatementMode)+0x40b) [0x7fa56f09a79b]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1907790) [0x7fa56f107790]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::RunFunctionInTransactionInternal(duckdb::ClientContextLock&, std::__1::function<void ()> const&, bool)+0x8a) [0x7fa56f09cc3a]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::PrepareInternal(duckdb::ClientContextLock&, duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>)+0x172) [0x7fa56f09d002]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::Prepare(duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>)+0xbc) [0x7fa56f09d3ec]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::Connection::Prepare(duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>)+0x2e) [0x7fa56f0ad77e]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(rapi_prepare(cpp11::external_pointer<duckdb::ConnWrapper, &duckdb::ConnDeleter>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, cpp11::environment)+0x5bc) [0x7fa56d90535c]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_duckdb_rapi_prepare+0x106) [0x7fa56d96f6c6]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8f513) [0x55930b9ba513]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xda008) [0x55930ba05008]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc83b4) [0x55930b9f33b4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x26e) [0x55930b9f29ae]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc83b4) [0x55930b9f33b4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdc110) [0x55930ba07110]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcc7e9) [0x55930b9f77e9]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc83b4) [0x55930b9f33b4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdc110) [0x55930ba07110]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcc7e9) [0x55930b9f77e9]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/test-clang/rlang/libs/rlang.so(+0x47d3) [0x7fa5802b77d3]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8d4d3) [0x55930b9b84d3]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcedd4) [0x55930b9f9dd4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe4ea8) [0x55930ba0fea8]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55930b9f2b10]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe3feb) [0x55930ba0efeb]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55930b9f2b10]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xce663) [0x55930b9f9663]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(R_execMethod+0x2cb) [0x55930ba0d78b]
  /data/gannet/ripley/R/R-clang/library/methods/libs/methods.so(+0x175b) [0x7fa582b8275b]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12e5da) [0x55930ba595da]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xce5e3) [0x55930b9f95e3]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc8a86) [0x55930b9f3a86]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12bae2) [0x55930ba56ae2]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12b405) [0x55930ba56405]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12c03e) [0x55930ba5703e]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcf036) [0x55930b9fa036]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc8a86) [0x55930b9f3a86]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12bae2) [0x55930ba56ae2]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12b405) [0x55930ba56405]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12c03e) [0x55930ba5703e]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcf036) [0x55930b9fa036]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc8a86) [0x55930b9f3a86]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12bae2) [0x55930ba56ae2]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12b509) [0x55930ba56509]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12c03e) [0x55930ba5703e]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcf036) [0x55930b9fa036]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe4ea8) [0x55930ba0fea8]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55930b9f2b10]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe3feb) [0x55930ba0efeb]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55930b9f2b10]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe6318) [0x55930ba11318]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcedd4) [0x55930b9f9dd4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe66f8) [0x55930ba116f8]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcedd4) [0x55930b9f9dd4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  
  This error signals an assertion failure within DuckDB. This usually occurs due to unexpected conditions or errors in the program's logic.
  For more information, see https://duckdb.org/docs/stable/dev/internal_errors
  i Context: rapi_prepare
  i Error type: INTERNAL
  ── Error ('test-summariseCohortTiming.R:60:3'): summariseCohortTiming ──────────
  Error in `dplyr::collect(x)`: Failed to collect lazy table.
  Caused by error in `dbSendQuery()`:
  ! INTERNAL Error: Failed to bind column reference "cohort_start_date_comparator" [24.0]: inequal types (DATE != INTEGER)
  
  Stack Trace:
  
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::InternalException::InternalException(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)+0x34) [0x7fa56e474004]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::InternalException::InternalException<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&, unsigned long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned long&, unsigned long&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&)+0xa6) [0x7fa56e81ef26]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitReplace(duckdb::BoundColumnRefExpression&, duckdb::unique_ptr<duckdb::Expression, std::__1::default_delete<duckdb::Expression>, true>*)+0x298) [0x7fa56e801748]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitExpression(duckdb::unique_ptr<duckdb::Expression, std::__1::default_delete<duckdb::Expression>, true>*)+0x1c7) [0x7fa56f35cbd7]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::EnumerateExpressions(duckdb::LogicalOperator&, std::__1::function<void (duckdb::unique_ptr<duckdb::Expression, std::__1::default_delete<duckdb::Expression>, true>*)> const&)+0x6fb) [0x7fa56f35c89b]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitOperatorExpressions(duckdb::LogicalOperator&)+0x2a) [0x7fa56f35b89a]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0x7c0) [0x7fa56e801220]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0xe6) [0x7fa56e800b46]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitOperatorChildren(duckdb::LogicalOperator&)+0x54) [0x7fa56f35b834]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0x7b5) [0x7fa56e801215]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitOperatorChildren(duckdb::LogicalOperator&)+0x54) [0x7fa56f35b834]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0x7b5) [0x7fa56e801215]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::LogicalOperatorVisitor::VisitOperatorChildren(duckdb::LogicalOperator&)+0x54) [0x7fa56f35b834]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ColumnBindingResolver::VisitOperator(duckdb::LogicalOperator&)+0x7b5) [0x7fa56e801215]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::PhysicalPlanGenerator::ResolveAndPlan(duckdb::unique_ptr<duckdb::LogicalOperator, std::__1::default_delete<duckdb::LogicalOperator>, true>)+0x75) [0x7fa56e815d95]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::PhysicalPlanGenerator::Plan(duckdb::unique_ptr<duckdb::LogicalOperator, std::__1::default_delete<duckdb::LogicalOperator>, true>)+0x2b) [0x7fa56e815cab]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::CreatePreparedStatementInternal(duckdb::ClientContextLock&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>, duckdb::PendingQueryParameters)+0x655) [0x7fa56f099ac5]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::CreatePreparedStatement(duckdb::ClientContextLock&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>, duckdb::PendingQueryParameters, duckdb::PreparedStatementMode)+0x40b) [0x7fa56f09a79b]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(+0x1907790) [0x7fa56f107790]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::RunFunctionInTransactionInternal(duckdb::ClientContextLock&, std::__1::function<void ()> const&, bool)+0x8a) [0x7fa56f09cc3a]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::PrepareInternal(duckdb::ClientContextLock&, duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>)+0x172) [0x7fa56f09d002]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::ClientContext::Prepare(duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>)+0xbc) [0x7fa56f09d3ec]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(duckdb::Connection::Prepare(duckdb::unique_ptr<duckdb::SQLStatement, std::__1::default_delete<duckdb::SQLStatement>, true>)+0x2e) [0x7fa56f0ad77e]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(rapi_prepare(cpp11::external_pointer<duckdb::ConnWrapper, &duckdb::ConnDeleter>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, cpp11::environment)+0x5bc) [0x7fa56d90535c]
  /data/gannet/ripley/R/test-clang/duckdb/libs/duckdb.so(_duckdb_rapi_prepare+0x106) [0x7fa56d96f6c6]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8f513) [0x55930b9ba513]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xda008) [0x55930ba05008]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc83b4) [0x55930b9f33b4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x26e) [0x55930b9f29ae]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc83b4) [0x55930b9f33b4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdc110) [0x55930ba07110]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcc7e9) [0x55930b9f77e9]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc83b4) [0x55930b9f33b4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdc110) [0x55930ba07110]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcc7e9) [0x55930b9f77e9]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/test-clang/rlang/libs/rlang.so(+0x47d3) [0x7fa5802b77d3]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x8d4d3) [0x55930b9b84d3]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcedd4) [0x55930b9f9dd4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe4ea8) [0x55930ba0fea8]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55930b9f2b10]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe3feb) [0x55930ba0efeb]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55930b9f2b10]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xce663) [0x55930b9f9663]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(R_execMethod+0x2cb) [0x55930ba0d78b]
  /data/gannet/ripley/R/R-clang/library/methods/libs/methods.so(+0x175b) [0x7fa582b8275b]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12e5da) [0x55930ba595da]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xce5e3) [0x55930b9f95e3]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc8a86) [0x55930b9f3a86]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12bae2) [0x55930ba56ae2]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12b405) [0x55930ba56405]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12c03e) [0x55930ba5703e]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcf036) [0x55930b9fa036]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc8a86) [0x55930b9f3a86]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12bae2) [0x55930ba56ae2]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12b405) [0x55930ba56405]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12c03e) [0x55930ba5703e]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcf036) [0x55930b9fa036]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc8a86) [0x55930b9f3a86]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12bae2) [0x55930ba56ae2]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12b509) [0x55930ba56509]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0x12c03e) [0x55930ba5703e]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcf036) [0x55930b9fa036]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe4ea8) [0x55930ba0fea8]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55930b9f2b10]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe3feb) [0x55930ba0efeb]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x3d0) [0x55930b9f2b10]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe6318) [0x55930ba11318]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcedd4) [0x55930b9f9dd4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x5f6) [0x55930b9f2d36]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xe66f8) [0x55930ba116f8]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xcedd4) [0x55930b9f9dd4]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xc815c) [0x55930b9f315c]
  /data/gannet/ripley/R/R-clang/bin/exec/R(Rf_eval+0x1a5) [0x55930b9f28e5]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdf979) [0x55930ba0a979]
  /data/gannet/ripley/R/R-clang/bin/exec/R(+0xdee7c) [0x55930ba09e7c]
  
  This error signals an assertion failure within DuckDB. This usually occurs due to unexpected conditions or errors in the program's logic.
  For more information, see https://duckdb.org/docs/stable/dev/internal_errors
  i Context: rapi_prepare
  i Error type: INTERNAL
  
  [ FAIL 2 | WARN 16 | SKIP 24 | PASS 218 ]
  Error:
  ! Test failures.
  Execution halted