Running ‘testthat.R’ [439s/568s]
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/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(PhenotypeR)
  > 
  > test_check("PhenotypeR")
  Creating a new cdm
  Uploading table person (100 rows) - [1/13]
  Uploading table observation_period (100 rows) - [2/13]
  Uploading table cdm_source (1 rows) - [3/13]
  Uploading table concept (3361 rows) - [4/13]
  Uploading table vocabulary (65 rows) - [5/13]
  Uploading table concept_relationship (117257 rows) - [6/13]
  Uploading table concept_synonym (3895 rows) - [7/13]
  Uploading table concept_ancestor (1327 rows) - [8/13]
  Uploading table drug_strength (45 rows) - [9/13]
  Uploading table condition_occurrence (600 rows) - [10/13]
  Uploading table drug_exposure (3100 rows) - [11/13]
  Uploading table measurement (2000 rows) - [12/13]
  Uploading table my_cohort_1 (100 rows) - [13/13]
  i Subsetting table measurement using 20 concepts with domain: measurement.
  i Combining tables.
  i Creating cohort attributes.
  i Applying cohort requirements.
  i Merging overlapping records.
  v Cohort measurement_cohort created.
  Getting counts of all_measurements codes for cohort all_measurements
  > Getting measurement records based on 20 concepts.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:07:22.578057
  v Summary finished, at 2026-02-23 14:07:22.848043
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:07:24.424491
  v Summary finished, at 2026-02-23 14:07:24.676353
  i summarising data
  i summarising cohort all_measurements
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:07:30.224883
  v Summary finished, at 2026-02-23 14:07:30.943569
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:07:32.01614
  v Summary finished, at 2026-02-23 14:07:32.360183
  > Binding all diagnostic results.
  Getting counts of all_measurements codes for cohort all_measurements
  > Getting measurement records based on 20 concepts.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:07:44.804484
  v Summary finished, at 2026-02-23 14:07:45.061944
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:07:46.372222
  v Summary finished, at 2026-02-23 14:07:46.753697
  i summarising data
  i summarising cohort all_measurements
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:07:52.707967
  v Summary finished, at 2026-02-23 14:07:53.658821
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:07:55.206626
  v Summary finished, at 2026-02-23 14:07:55.517081
  > Binding all diagnostic results.
  Saving _problems/test-codelistDiagnostics-129.R
  Getting counts of all_measurements codes for cohort all_measurements
  i Subsetting table measurement using 20 concepts with domain: measurement.
  i Combining tables.
  i Creating cohort attributes.
  i Applying cohort requirements.
  i Merging overlapping records.
  v Cohort measurement_2 created.
  Getting counts of all_measurements_alkaline_phosphatase_bone_alkaline_phosphatase_total_in_serum_or_plasma codes for cohort all_measurements_alkaline_phosphatase_bone_alkaline_phosphatase_total_in_serum_or_plasma
  Getting counts of all_measurements_alkaline_phosphatase_bone_enzymatic_activity_volume_in_serum_or_plasma codes for cohort all_measurements_alkaline_phosphatase_bone_enzymatic_activity_volume_in_serum_or_plasma
  Getting counts of all_measurements_alkaline_phosphatase_bone_isoenzyme_activity_measurement codes for cohort all_measurements_alkaline_phosphatase_bone_isoenzyme_activity_measurement
  Getting counts of all_measurements_alkaline_phosphatase_bone_isoenzyme_measurement codes for cohort all_measurements_alkaline_phosphatase_bone_isoenzyme_measurement
  Getting counts of all_measurements_alkaline_phosphatase_bone_isoenzyme_measurement_serum codes for cohort all_measurements_alkaline_phosphatase_bone_isoenzyme_measurement_serum
  Getting counts of all_measurements_alkaline_phosphatase_bone_mass_volume_in_serum_or_plasma codes for cohort all_measurements_alkaline_phosphatase_bone_mass_volume_in_serum_or_plasma
  Getting counts of all_measurements_alkaline_phosphatase_bone_presence_in_serum_or_plasma codes for cohort all_measurements_alkaline_phosphatase_bone_presence_in_serum_or_plasma
  Getting counts of all_measurements_alkaline_phosphatase_isoenzymes_measurement codes for cohort all_measurements_alkaline_phosphatase_isoenzymes_measurement
  Getting counts of all_measurements_cyclohexanone_mass_volume_in_urine codes for cohort all_measurements_cyclohexanone_mass_volume_in_urine
  Getting counts of all_measurements_phen_x_caffeine_protocol_050301 codes for cohort all_measurements_phen_x_caffeine_protocol_050301
  Getting counts of all_measurements_plasma_alkaline_phosphatase_bone_isoenzyme_measurement codes for cohort all_measurements_plasma_alkaline_phosphatase_bone_isoenzyme_measurement
  Getting counts of all_measurements_uroporphyrin_3_isomer_mass_time_in_24_hour_stool codes for cohort all_measurements_uroporphyrin_3_isomer_mass_time_in_24_hour_stool
  Getting counts of all_measurements_uroporphyrin_3_isomer_mass_time_in_24_hour_urine codes for cohort all_measurements_uroporphyrin_3_isomer_mass_time_in_24_hour_urine
  Getting counts of all_measurements_uroporphyrin_3_isomer_moles_mass_in_stool codes for cohort all_measurements_uroporphyrin_3_isomer_moles_mass_in_stool
  Getting counts of all_measurements_uroporphyrin_3_isomer_moles_time_in_24_hour_urine codes for cohort all_measurements_uroporphyrin_3_isomer_moles_time_in_24_hour_urine
  Getting counts of all_measurements_uroporphyrin_3_isomer_moles_volume_in_serum_or_plasma codes for cohort all_measurements_uroporphyrin_3_isomer_moles_volume_in_serum_or_plasma
  Getting counts of all_measurements_uroporphyrin_3_isomer_moles_volume_in_stool codes for cohort all_measurements_uroporphyrin_3_isomer_moles_volume_in_stool
  Getting counts of all_measurements_uroporphyrin_3_isomer_moles_volume_in_urine codes for cohort all_measurements_uroporphyrin_3_isomer_moles_volume_in_urine
  Getting counts of all_measurements_uroporphyrin_iii_measurement codes for cohort all_measurements_uroporphyrin_iii_measurement
  Getting counts of all_measurements_uroporphyrin_measurement codes for cohort all_measurements_uroporphyrin_measurement
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:09:35.078197
  v Summary finished, at 2026-02-23 14:09:35.265956
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:09:36.312288
  v Summary finished, at 2026-02-23 14:09:36.461378
  i summarising data
  i summarising cohort all_measurements_alkaline_phosphatase_bone_enzymatic_activity_volume_in_serum_or_plasma
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:09:41.728942
  v Summary finished, at 2026-02-23 14:09:42.928339
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:09:44.05546
  v Summary finished, at 2026-02-23 14:09:44.30474
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:09:54.780476
  v Summary finished, at 2026-02-23 14:09:55.115799
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:09:56.436687
  v Summary finished, at 2026-02-23 14:09:56.599397
  i summarising data
  i summarising cohort all_measurements_alkaline_phosphatase_bone_alkaline_phosphatase_total_in_serum_or_plasma
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:02.5323
  v Summary finished, at 2026-02-23 14:10:03.342813
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:10:04.71725
  v Summary finished, at 2026-02-23 14:10:04.970481
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:14.289524
  v Summary finished, at 2026-02-23 14:10:14.469771
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:15.784368
  v Summary finished, at 2026-02-23 14:10:15.991311
  i summarising data
  i summarising cohort all_measurements_uroporphyrin_3_isomer_moles_volume_in_serum_or_plasma
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:21.1121
  v Summary finished, at 2026-02-23 14:10:21.981883
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:10:23.426318
  v Summary finished, at 2026-02-23 14:10:23.675599
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:31.285768
  v Summary finished, at 2026-02-23 14:10:31.680854
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:32.877301
  v Summary finished, at 2026-02-23 14:10:33.090231
  i summarising data
  i summarising cohort all_measurements_uroporphyrin_3_isomer_moles_volume_in_urine
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:38.534399
  v Summary finished, at 2026-02-23 14:10:39.246025
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:10:40.497172
  v Summary finished, at 2026-02-23 14:10:40.86102
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:49.634675
  v Summary finished, at 2026-02-23 14:10:49.807871
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:50.872569
  v Summary finished, at 2026-02-23 14:10:51.040336
  i summarising data
  i summarising cohort all_measurements_alkaline_phosphatase_bone_mass_volume_in_serum_or_plasma
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:10:56.547712
  v Summary finished, at 2026-02-23 14:10:57.305295
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:10:58.849218
  v Summary finished, at 2026-02-23 14:10:59.125647
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:11:08.83744
  v Summary finished, at 2026-02-23 14:11:09.031214
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:11:10.05893
  v Summary finished, at 2026-02-23 14:11:10.275329
  i summarising data
  i summarising cohort all_measurements_uroporphyrin_3_isomer_moles_volume_in_stool
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:11:16.346541
  v Summary finished, at 2026-02-23 14:11:16.988821
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:11:18.24608
  v Summary finished, at 2026-02-23 14:11:18.511863
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:11:27.188149
  v Summary finished, at 2026-02-23 14:11:27.497193
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:11:29.007252
  v Summary finished, at 2026-02-23 14:11:29.228451
  i summarising data
  i summarising cohort all_measurements_cyclohexanone_mass_volume_in_urine
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:11:35.899147
  v Summary finished, at 2026-02-23 14:11:36.60945
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:11:38.175349
  v Summary finished, at 2026-02-23 14:11:38.528844
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:11:48.680403
  v Summary finished, at 2026-02-23 14:11:48.920254
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:11:50.205857
  v Summary finished, at 2026-02-23 14:11:50.370499
  i summarising data
  i summarising cohort all_measurements_uroporphyrin_3_isomer_moles_time_in_24_hour_urine
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:11:56.214602
  v Summary finished, at 2026-02-23 14:11:57.029553
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:11:58.171523
  v Summary finished, at 2026-02-23 14:11:58.398848
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:12:07.686903
  v Summary finished, at 2026-02-23 14:12:07.860078
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:12:09.276893
  v Summary finished, at 2026-02-23 14:12:09.471986
  i summarising data
  i summarising cohort all_measurements_alkaline_phosphatase_bone_presence_in_serum_or_plasma
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:12:15.590804
  v Summary finished, at 2026-02-23 14:12:16.301083
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:12:17.653043
  v Summary finished, at 2026-02-23 14:12:17.893795
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:12:26.898992
  v Summary finished, at 2026-02-23 14:12:27.093581
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:12:28.109314
  v Summary finished, at 2026-02-23 14:12:28.291474
  i summarising data
  i summarising cohort all_measurements_uroporphyrin_3_isomer_mass_time_in_24_hour_stool
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:12:33.807144
  v Summary finished, at 2026-02-23 14:12:34.657523
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:12:36.036852
  v Summary finished, at 2026-02-23 14:12:36.425035
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:12:45.319185
  v Summary finished, at 2026-02-23 14:12:45.548537
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:12:46.603085
  v Summary finished, at 2026-02-23 14:12:46.781776
  i summarising data
  i summarising cohort all_measurements_uroporphyrin_3_isomer_moles_mass_in_stool
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:12:53.262765
  v Summary finished, at 2026-02-23 14:12:54.540361
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:12:56.814021
  v Summary finished, at 2026-02-23 14:12:57.374849
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:13:08.242537
  v Summary finished, at 2026-02-23 14:13:08.407947
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:13:09.377093
  v Summary finished, at 2026-02-23 14:13:09.570321
  i summarising data
  i summarising cohort all_measurements_uroporphyrin_iii_measurement
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:13:15.652417
  v Summary finished, at 2026-02-23 14:13:16.670109
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:13:18.444531
  v Summary finished, at 2026-02-23 14:13:18.865969
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:13:30.804398
  v Summary finished, at 2026-02-23 14:13:31.008646
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:13:32.350732
  v Summary finished, at 2026-02-23 14:13:32.63079
  i summarising data
  i summarising cohort all_measurements_uroporphyrin_measurement
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:13:39.771392
  v Summary finished, at 2026-02-23 14:13:40.649552
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:13:42.266749
  v Summary finished, at 2026-02-23 14:13:42.567109
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:13:54.618341
  v Summary finished, at 2026-02-23 14:13:54.794539
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:13:56.038973
  v Summary finished, at 2026-02-23 14:13:56.328961
  i summarising data
  i summarising cohort all_measurements_alkaline_phosphatase_bone_isoenzyme_measurement
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:14:04.485558
  v Summary finished, at 2026-02-23 14:14:05.401045
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:14:07.276596
  v Summary finished, at 2026-02-23 14:14:07.584008
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:14:19.693066
  v Summary finished, at 2026-02-23 14:14:19.854491
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:14:20.93348
  v Summary finished, at 2026-02-23 14:14:21.174846
  i summarising data
  i summarising cohort all_measurements_plasma_alkaline_phosphatase_bone_isoenzyme_measurement
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:14:27.277386
  v Summary finished, at 2026-02-23 14:14:28.040465
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:14:29.701074
  v Summary finished, at 2026-02-23 14:14:30.065202
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:14:41.029579
  v Summary finished, at 2026-02-23 14:14:41.191379
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:14:42.523552
  v Summary finished, at 2026-02-23 14:14:42.806598
  i summarising data
  i summarising cohort all_measurements_alkaline_phosphatase_bone_isoenzyme_measurement_serum
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:14:49.592849
  v Summary finished, at 2026-02-23 14:14:50.63051
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:14:52.150745
  v Summary finished, at 2026-02-23 14:14:52.576481
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:15:04.449825
  v Summary finished, at 2026-02-23 14:15:04.731388
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:15:06.001453
  v Summary finished, at 2026-02-23 14:15:06.21928
  i summarising data
  i summarising cohort all_measurements_alkaline_phosphatase_isoenzymes_measurement
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:15:12.3753
  v Summary finished, at 2026-02-23 14:15:13.280762
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:15:14.284935
  v Summary finished, at 2026-02-23 14:15:14.610109
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:15:25.037946
  v Summary finished, at 2026-02-23 14:15:25.227549
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:15:26.527813
  v Summary finished, at 2026-02-23 14:15:26.696744
  i summarising data
  i summarising cohort all_measurements_uroporphyrin_3_isomer_mass_time_in_24_hour_urine
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:15:33.040256
  v Summary finished, at 2026-02-23 14:15:33.750817
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:15:35.072518
  v Summary finished, at 2026-02-23 14:15:35.331837
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:15:44.934469
  v Summary finished, at 2026-02-23 14:15:45.139533
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:15:46.900403
  v Summary finished, at 2026-02-23 14:15:47.156977
  i summarising data
  i summarising cohort all_measurements_phen_x_caffeine_protocol_050301
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:15:53.217139
  v Summary finished, at 2026-02-23 14:15:53.872775
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:15:55.410025
  v Summary finished, at 2026-02-23 14:15:55.658407
  > Binding all diagnostic results.
  Returning entry cohort as the size of the cohorts to be sampled is equal or smaller than `n`.
  > Getting measurement records based on 1 concept.
  > Subsetting records to the subjects and timing of interest.
  > Getting time between records per person.
  Summarising timings
  i The following estimates will be calculated:
  * days_between_measurements: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:16:06.573906
  v Summary finished, at 2026-02-23 14:16:06.743716
  > Getting measurements per subject.
  i The following estimates will be calculated:
  * measurements_per_subject: min, q25, median, q75, max, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:16:07.714135
  v Summary finished, at 2026-02-23 14:16:07.959263
  i summarising data
  i summarising cohort all_measurements_alkaline_phosphatase_bone_isoenzyme_activity_measurement
  v summariseCharacteristics finished!
  `group` is not present in settings.
  > Summarising results - value as number.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_number: min, q01, q05, q25, median, q75, q95, q99, max, count_missing, percentage_missing, density
  ! Table is collected to memory as not all requested estimates are supported on the database side
  > Start summary of data, at 2026-02-23 14:16:13.539405
  v Summary finished, at 2026-02-23 14:16:14.103022
  > Summarising results - value as concept.
  Summarising value as number
  i The following estimates will be calculated:
  * value_as_concept_id: count, percentage
  > Start summary of data, at 2026-02-23 14:16:15.463058
  v Summary finished, at 2026-02-23 14:16:15.76597
  > Binding all diagnostic results.
  [ FAIL 1 | WARN 50 | SKIP 23 | PASS 6 ]
  
  ══ Skipped tests (23) ══════════════════════════════════════════════════════════
  • On CRAN (19): 'test-addCodelistAttribute.R:2:3',
    'test-addCodelistAttribute.R:70:3', 'test-addCodelistAttribute.R:118:3',
    'test-codelistDiagnostics.R:2:3', 'test-codelistDiagnostics.R:48:3',
    'test-cohortDiagnostics.R:2:3', 'test-cohortDiagnostics.R:51:3',
    'test-databaseDiagnostics.R:2:3', 'test-dbms.R:3:3', 'test-dbms.R:25:3',
    'test-drugDiagnostics.R:2:3', 'test-getCohortExpectations.R:3:3',
    'test-getCohortExpectations.R:26:3', 'test-getCohortExpectations.R:61:3',
    'test-phenotypeDiagnostics.R:3:3', 'test-phenotypeDiagnostics.R:87:3',
    'test-populationDiagnostics.R:2:3', 'test-shinyDiagnostics.R:3:3',
    'test-shinyDiagnostics.R:46:3'
  • empty test (4): 'test-cohortDiagnostics.R:173:1',
    'test-cohortDiagnostics.R:177:1', 'test-cohortDiagnostics.R:181:1',
    'test-cohortDiagnostics.R:187:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-codelistDiagnostics.R:125:3'): measurementDiagnostics working ──
  Expected `... <= 5` to be TRUE.
  Differences:
  `actual`:       
  `expected`: TRUE
  
  
  [ FAIL 1 | WARN 50 | SKIP 23 | PASS 6 ]
  Error:
  ! Test failures.
  Execution halted