Running ‘testthat.R’ [415s/575s]
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-21 14:06:59.661587
  v Summary finished, at 2026-02-21 14:06:59.849123
  > 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-21 14:07:00.849442
  v Summary finished, at 2026-02-21 14:07:01.067183
  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-21 14:07:07.387001
  v Summary finished, at 2026-02-21 14:07:08.425224
  > 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-21 14:07:09.967048
  v Summary finished, at 2026-02-21 14:07:10.217273
  > 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-21 14:07:28.016037
  v Summary finished, at 2026-02-21 14:07:28.301207
  > 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-21 14:07:29.705309
  v Summary finished, at 2026-02-21 14:07:29.927778
  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-21 14:07:36.983901
  v Summary finished, at 2026-02-21 14:07:38.076836
  > 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-21 14:07:39.609608
  v Summary finished, at 2026-02-21 14:07:39.893472
  > 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-21 14:09:24.826884
  v Summary finished, at 2026-02-21 14:09:25.220904
  > 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-21 14:09:26.538142
  v Summary finished, at 2026-02-21 14:09:26.777416
  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-21 14:09:32.739445
  v Summary finished, at 2026-02-21 14:09:33.722434
  > 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-21 14:09:35.812287
  v Summary finished, at 2026-02-21 14:09:36.309529
  > 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-21 14:09:46.637921
  v Summary finished, at 2026-02-21 14:09:47.018387
  > 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-21 14:09:48.117369
  v Summary finished, at 2026-02-21 14:09:48.338296
  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-21 14:09:54.930618
  v Summary finished, at 2026-02-21 14:09:55.634679
  > 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-21 14:09:57.88306
  v Summary finished, at 2026-02-21 14:09:58.254033
  > 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-21 14:10:07.497436
  v Summary finished, at 2026-02-21 14:10:07.837555
  > 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-21 14:10:09.488347
  v Summary finished, at 2026-02-21 14:10:09.666723
  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-21 14:10:15.417922
  v Summary finished, at 2026-02-21 14:10:16.195873
  > 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-21 14:10:17.419217
  v Summary finished, at 2026-02-21 14:10:17.676629
  > 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-21 14:10:28.173154
  v Summary finished, at 2026-02-21 14:10:28.52832
  > 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-21 14:10:29.825694
  v Summary finished, at 2026-02-21 14:10:29.98608
  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-21 14:10:36.879886
  v Summary finished, at 2026-02-21 14:10:37.589049
  > 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-21 14:10:39.245177
  v Summary finished, at 2026-02-21 14:10:39.491691
  > 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-21 14:10:47.669084
  v Summary finished, at 2026-02-21 14:10:47.953116
  > 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-21 14:10:49.059677
  v Summary finished, at 2026-02-21 14:10:49.22278
  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-21 14:10:54.439219
  v Summary finished, at 2026-02-21 14:10:55.19281
  > 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-21 14:10:56.317489
  v Summary finished, at 2026-02-21 14:10:56.537964
  > 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-21 14:11:05.489549
  v Summary finished, at 2026-02-21 14:11:05.828867
  > 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-21 14:11:07.155931
  v Summary finished, at 2026-02-21 14:11:07.372252
  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-21 14:11:13.424314
  v Summary finished, at 2026-02-21 14:11:14.095723
  > 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-21 14:11:15.609778
  v Summary finished, at 2026-02-21 14:11:16.184278
  > 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-21 14:11:25.666008
  v Summary finished, at 2026-02-21 14:11:25.87039
  > 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-21 14:11:26.820486
  v Summary finished, at 2026-02-21 14:11:27.001789
  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-21 14:11:32.469182
  v Summary finished, at 2026-02-21 14:11:33.301795
  > 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-21 14:11:34.607953
  v Summary finished, at 2026-02-21 14:11:34.966213
  > 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-21 14:11:44.422814
  v Summary finished, at 2026-02-21 14:11:44.769814
  > 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-21 14:11:46.251667
  v Summary finished, at 2026-02-21 14:11:46.576865
  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-21 14:11:51.315926
  v Summary finished, at 2026-02-21 14:11:51.960889
  > 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-21 14:11:53.239605
  v Summary finished, at 2026-02-21 14:11:53.582767
  > 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-21 14:12:04.29922
  v Summary finished, at 2026-02-21 14:12:04.50857
  > 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-21 14:12:05.785882
  v Summary finished, at 2026-02-21 14:12:05.978875
  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-21 14:12:11.912241
  v Summary finished, at 2026-02-21 14:12:12.651462
  > 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-21 14:12:13.928277
  v Summary finished, at 2026-02-21 14:12:14.185726
  > 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-21 14:12:23.305454
  v Summary finished, at 2026-02-21 14:12:23.596911
  > 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-21 14:12:24.884169
  v Summary finished, at 2026-02-21 14:12:25.200782
  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-21 14:12:31.026827
  v Summary finished, at 2026-02-21 14:12:32.209911
  > 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-21 14:12:33.85857
  v Summary finished, at 2026-02-21 14:12:34.206181
  > 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-21 14:12:43.165076
  v Summary finished, at 2026-02-21 14:12:43.336626
  > 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-21 14:12:45.132244
  v Summary finished, at 2026-02-21 14:12:45.48351
  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-21 14:12:51.851991
  v Summary finished, at 2026-02-21 14:12:52.601449
  > 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-21 14:12:54.129993
  v Summary finished, at 2026-02-21 14:12:54.639592
  > 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-21 14:13:04.094346
  v Summary finished, at 2026-02-21 14:13:04.328862
  > 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-21 14:13:06.101945
  v Summary finished, at 2026-02-21 14:13:06.480915
  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-21 14:13:14.279614
  v Summary finished, at 2026-02-21 14:13:14.944974
  > 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-21 14:13:17.063751
  v Summary finished, at 2026-02-21 14:13:17.523514
  > 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-21 14:13:29.950624
  v Summary finished, at 2026-02-21 14:13:30.329916
  > 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-21 14:13:32.593504
  v Summary finished, at 2026-02-21 14:13:32.965663
  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-21 14:13:40.589282
  v Summary finished, at 2026-02-21 14:13:41.50292
  > 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-21 14:13:43.258892
  v Summary finished, at 2026-02-21 14:13:43.664631
  > 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-21 14:13:54.224693
  v Summary finished, at 2026-02-21 14:13:54.380472
  > 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-21 14:13:55.330985
  v Summary finished, at 2026-02-21 14:13:55.489875
  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-21 14:14:02.841998
  v Summary finished, at 2026-02-21 14:14:03.8702
  > 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-21 14:14:05.274123
  v Summary finished, at 2026-02-21 14:14:05.587912
  > 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-21 14:14:14.302167
  v Summary finished, at 2026-02-21 14:14:14.473162
  > 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-21 14:14:15.675567
  v Summary finished, at 2026-02-21 14:14:15.890463
  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-21 14:14:22.159156
  v Summary finished, at 2026-02-21 14:14:22.961822
  > 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-21 14:14:24.091558
  v Summary finished, at 2026-02-21 14:14:24.382763
  > 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-21 14:14:33.331232
  v Summary finished, at 2026-02-21 14:14:33.638593
  > 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-21 14:14:34.769276
  v Summary finished, at 2026-02-21 14:14:35.029412
  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-21 14:14:42.131584
  v Summary finished, at 2026-02-21 14:14:42.974763
  > 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-21 14:14:45.074942
  v Summary finished, at 2026-02-21 14:14:45.448174
  > 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-21 14:14:55.733067
  v Summary finished, at 2026-02-21 14:14:55.975754
  > 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-21 14:14:57.304475
  v Summary finished, at 2026-02-21 14:14:57.471404
  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-21 14:15:02.559263
  v Summary finished, at 2026-02-21 14:15:03.17917
  > 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-21 14:15:04.717119
  v Summary finished, at 2026-02-21 14:15:05.116131
  > 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-21 14:15:14.462602
  v Summary finished, at 2026-02-21 14:15:14.625608
  > 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-21 14:15:15.822603
  v Summary finished, at 2026-02-21 14:15:16.008079
  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-21 14:15:21.76492
  v Summary finished, at 2026-02-21 14:15:22.683885
  > 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-21 14:15:23.909998
  v Summary finished, at 2026-02-21 14:15:24.182707
  > 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-21 14:15:34.551191
  v Summary finished, at 2026-02-21 14:15:34.794592
  > 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-21 14:15:35.829767
  v Summary finished, at 2026-02-21 14:15:36.008491
  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-21 14:15:41.824445
  v Summary finished, at 2026-02-21 14:15:42.615318
  > 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-21 14:15:44.346209
  v Summary finished, at 2026-02-21 14:15:44.615842
  > 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-21 14:15:53.612872
  v Summary finished, at 2026-02-21 14:15:53.840323
  > 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-21 14:15:54.737349
  v Summary finished, at 2026-02-21 14:15:54.982779
  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-21 14:16:00.641347
  v Summary finished, at 2026-02-21 14:16:01.758543
  > 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-21 14:16:02.83245
  v Summary finished, at 2026-02-21 14:16:03.334787
  > 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