Running ‘testthat.R’ [398s/473s]
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-22 14:07:04.710417
  v Summary finished, at 2026-02-22 14:07:04.891678
  > 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-22 14:07:05.846816
  v Summary finished, at 2026-02-22 14:07:06.088194
  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-22 14:07:11.318096
  v Summary finished, at 2026-02-22 14:07:12.059999
  > 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-22 14:07:13.220722
  v Summary finished, at 2026-02-22 14:07:13.461844
  > 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-22 14:07:27.290429
  v Summary finished, at 2026-02-22 14:07:27.44914
  > 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-22 14:07:28.593956
  v Summary finished, at 2026-02-22 14:07:28.773288
  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-22 14:07:33.238133
  v Summary finished, at 2026-02-22 14:07:34.161793
  > 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-22 14:07:35.618665
  v Summary finished, at 2026-02-22 14:07:35.889026
  > 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-22 14:08:59.718515
  v Summary finished, at 2026-02-22 14:08:59.98874
  > 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-22 14:09:01.195216
  v Summary finished, at 2026-02-22 14:09:01.467067
  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-22 14:09:06.455875
  v Summary finished, at 2026-02-22 14:09:07.298512
  > 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-22 14:09:08.762223
  v Summary finished, at 2026-02-22 14:09:09.150913
  > 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-22 14:09:17.824873
  v Summary finished, at 2026-02-22 14:09:18.155564
  > 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-22 14:09:19.218894
  v Summary finished, at 2026-02-22 14:09:19.397393
  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-22 14:09:25.2263
  v Summary finished, at 2026-02-22 14:09:25.876452
  > 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-22 14:09:27.059878
  v Summary finished, at 2026-02-22 14:09:27.325674
  > 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-22 14:09:34.907843
  v Summary finished, at 2026-02-22 14:09:35.099448
  > 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-22 14:09:36.165187
  v Summary finished, at 2026-02-22 14:09:36.408571
  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-22 14:09:42.212032
  v Summary finished, at 2026-02-22 14:09:42.751791
  > 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-22 14:09:43.976666
  v Summary finished, at 2026-02-22 14:09:44.201789
  > 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-22 14:09:53.734611
  v Summary finished, at 2026-02-22 14:09:53.915506
  > 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-22 14:09:55.054979
  v Summary finished, at 2026-02-22 14:09:55.319537
  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-22 14:10:00.490212
  v Summary finished, at 2026-02-22 14:10:01.046356
  > 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-22 14:10:02.351967
  v Summary finished, at 2026-02-22 14:10:02.642525
  > 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-22 14:10:10.387694
  v Summary finished, at 2026-02-22 14:10:10.570174
  > 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-22 14:10:11.463382
  v Summary finished, at 2026-02-22 14:10:11.637547
  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-22 14:10:17.062682
  v Summary finished, at 2026-02-22 14:10:17.7586
  > 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-22 14:10:18.710467
  v Summary finished, at 2026-02-22 14:10:18.998532
  > 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-22 14:10:27.573922
  v Summary finished, at 2026-02-22 14:10:27.728932
  > 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-22 14:10:28.562215
  v Summary finished, at 2026-02-22 14:10:28.71833
  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-22 14:10:33.634877
  v Summary finished, at 2026-02-22 14:10:34.251747
  > 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-22 14:10:35.373809
  v Summary finished, at 2026-02-22 14:10:35.66434
  > 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-22 14:10:43.32824
  v Summary finished, at 2026-02-22 14:10:43.558885
  > 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-22 14:10:44.639624
  v Summary finished, at 2026-02-22 14:10:44.792265
  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-22 14:10:49.425223
  v Summary finished, at 2026-02-22 14:10:49.998879
  > 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-22 14:10:51.124499
  v Summary finished, at 2026-02-22 14:10:51.329492
  > 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-22 14:10:58.832937
  v Summary finished, at 2026-02-22 14:10:59.001983
  > 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-22 14:11:00.060883
  v Summary finished, at 2026-02-22 14:11:00.227137
  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-22 14:11:05.317709
  v Summary finished, at 2026-02-22 14:11:05.984936
  > 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-22 14:11:07.158502
  v Summary finished, at 2026-02-22 14:11:07.409744
  > 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-22 14:11:15.169025
  v Summary finished, at 2026-02-22 14:11:15.345239
  > 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-22 14:11:16.281862
  v Summary finished, at 2026-02-22 14:11:16.427076
  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-22 14:11:20.996108
  v Summary finished, at 2026-02-22 14:11:21.6299
  > 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-22 14:11:22.782363
  v Summary finished, at 2026-02-22 14:11:23.073345
  > 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-22 14:11:31.308726
  v Summary finished, at 2026-02-22 14:11:31.466984
  > 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-22 14:11:33.086389
  v Summary finished, at 2026-02-22 14:11:33.248195
  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-22 14:11:38.417288
  v Summary finished, at 2026-02-22 14:11:39.000062
  > 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-22 14:11:40.268256
  v Summary finished, at 2026-02-22 14:11:40.599532
  > 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-22 14:11:48.612368
  v Summary finished, at 2026-02-22 14:11:48.776399
  > 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-22 14:11:50.136688
  v Summary finished, at 2026-02-22 14:11:50.326506
  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-22 14:11:56.155605
  v Summary finished, at 2026-02-22 14:11:56.727549
  > 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-22 14:11:57.970063
  v Summary finished, at 2026-02-22 14:11:58.205193
  > 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-22 14:12:05.617088
  v Summary finished, at 2026-02-22 14:12:05.815055
  > 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-22 14:12:06.713382
  v Summary finished, at 2026-02-22 14:12:06.878152
  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-22 14:12:12.317891
  v Summary finished, at 2026-02-22 14:12:12.895112
  > 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-22 14:12:13.933922
  v Summary finished, at 2026-02-22 14:12:14.163269
  > 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-22 14:12:22.11766
  v Summary finished, at 2026-02-22 14:12:22.34058
  > 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-22 14:12:23.472732
  v Summary finished, at 2026-02-22 14:12:23.660995
  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-22 14:12:28.142145
  v Summary finished, at 2026-02-22 14:12:28.802834
  > 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-22 14:12:30.05126
  v Summary finished, at 2026-02-22 14:12:30.301272
  > 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-22 14:12:38.945287
  v Summary finished, at 2026-02-22 14:12:39.09938
  > 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-22 14:12:40.663494
  v Summary finished, at 2026-02-22 14:12:40.913656
  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-22 14:12:45.709056
  v Summary finished, at 2026-02-22 14:12:46.414348
  > 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-22 14:12:47.606742
  v Summary finished, at 2026-02-22 14:12:47.836756
  > 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-22 14:12:55.423269
  v Summary finished, at 2026-02-22 14:12:55.635558
  > 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-22 14:12:56.57423
  v Summary finished, at 2026-02-22 14:12:56.730608
  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-22 14:13:00.93207
  v Summary finished, at 2026-02-22 14:13:01.506425
  > 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-22 14:13:02.518273
  v Summary finished, at 2026-02-22 14:13:02.768943
  > 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-22 14:13:10.290696
  v Summary finished, at 2026-02-22 14:13:10.457127
  > 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-22 14:13:11.409878
  v Summary finished, at 2026-02-22 14:13:11.681345
  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-22 14:13:17.139102
  v Summary finished, at 2026-02-22 14:13:17.814403
  > 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-22 14:13:18.893455
  v Summary finished, at 2026-02-22 14:13:19.253602
  > 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-22 14:13:27.658771
  v Summary finished, at 2026-02-22 14:13:27.88948
  > 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-22 14:13:28.996116
  v Summary finished, at 2026-02-22 14:13:29.268712
  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-22 14:13:34.576818
  v Summary finished, at 2026-02-22 14:13:35.197893
  > 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-22 14:13:36.370792
  v Summary finished, at 2026-02-22 14:13:36.659785
  > 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-22 14:13:45.054535
  v Summary finished, at 2026-02-22 14:13:45.228458
  > 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-22 14:13:46.07611
  v Summary finished, at 2026-02-22 14:13:46.241891
  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-22 14:13:51.40522
  v Summary finished, at 2026-02-22 14:13:52.023966
  > 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-22 14:13:53.204135
  v Summary finished, at 2026-02-22 14:13:53.625457
  > 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-22 14:14:02.530353
  v Summary finished, at 2026-02-22 14:14:02.851499
  > 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-22 14:14:03.718115
  v Summary finished, at 2026-02-22 14:14:03.8725
  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-22 14:14:09.135353
  v Summary finished, at 2026-02-22 14:14:09.868165
  > 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-22 14:14:11.332451
  v Summary finished, at 2026-02-22 14:14:11.585714
  > 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-22 14:14:20.92291
  v Summary finished, at 2026-02-22 14:14:21.085718
  > 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-22 14:14:22.083895
  v Summary finished, at 2026-02-22 14:14:22.239506
  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-22 14:14:27.314551
  v Summary finished, at 2026-02-22 14:14:27.879801
  > 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-22 14:14:29.0288
  v Summary finished, at 2026-02-22 14:14:29.295444
  > 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