Running ‘testthat.R’ [17m/39m]
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 20:09:55.93935
  v Summary finished, at 2026-02-22 20:09:56.418576
  > 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 20:09:59.632365
  v Summary finished, at 2026-02-22 20:10:00.535281
  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 20:10:20.196309
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:10:26.523696
  > 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 20:10:35.126886
  v Summary finished, at 2026-02-22 20:10:36.254635
  > 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 20:11:32.420887
  v Summary finished, at 2026-02-22 20:11:33.304596
  > 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 20:11:37.805333
  v Summary finished, at 2026-02-22 20:11:38.639668
  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 20:11:58.374758
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:12:02.357629
  > 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 20:12:09.135577
  v Summary finished, at 2026-02-22 20:12:10.561875
  > 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 20:17:33.227405
  v Summary finished, at 2026-02-22 20:17:33.602005
  > 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 20:17:36.387456
  v Summary finished, at 2026-02-22 20:17:37.264247
  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 20:17:54.546373
  v Summary finished, at 2026-02-22 20:17:56.144258
  > 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 20:18:01.927906
  v Summary finished, at 2026-02-22 20:18:03.386527
  > 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 20:18:30.1038
  v Summary finished, at 2026-02-22 20:18:30.716758
  > 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 20:18:35.802842
  v Summary finished, at 2026-02-22 20:18:36.80128
  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 20:18:58.122216
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:19:03.155248
  > 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 20:19:08.346333
  v Summary finished, at 2026-02-22 20:19:09.37607
  > 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 20:19:38.81532
  v Summary finished, at 2026-02-22 20:19:39.251751
  > 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 20:19:43.473889
  v Summary finished, at 2026-02-22 20:19:44.559894
  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 20:20:10.421026
  v Summary finished, at 2026-02-22 20:20:12.627182
  > 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 20:20:17.299219
  v Summary finished, at 2026-02-22 20:20:18.207248
  > 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 20:20:44.320072
  v Summary finished, at 2026-02-22 20:20:44.860631
  > 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 20:20:48.148142
  v Summary finished, at 2026-02-22 20:20:48.693148
  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 20:21:07.187285
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:21:10.492377
  > 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 20:21:15.668313
  v Summary finished, at 2026-02-22 20:21:16.852508
  > 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 20:22:03.053979
  v Summary finished, at 2026-02-22 20:22:04.590077
  > 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 20:22:17.567432
  v Summary finished, at 2026-02-22 20:22:18.958139
  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 20:23:12.266219
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:23:24.469773
  > 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 20:23:36.99059
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:23:46.250081
  > 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 20:24:54.936392
  v Summary finished, at 2026-02-22 20:24:56.001405
  > 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 20:25:02.842921
  v Summary finished, at 2026-02-22 20:25:04.552368
  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 20:25:53.696749
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:26:01.477828
  > 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 20:26:22.108603
  v Summary finished, at 2026-02-22 20:26:25.053416
  > 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 20:27:23.558303
  v Summary finished, at 2026-02-22 20:27:25.753254
  > 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 20:27:36.826266
  v Summary finished, at 2026-02-22 20:27:39.063023
  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 20:28:09.594004
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:28:13.582259
  > 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 20:28:21.992777
  v Summary finished, at 2026-02-22 20:28:23.89607
  > 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 20:28:58.971908
  v Summary finished, at 2026-02-22 20:28:59.913268
  > 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 20:29:03.418563
  v Summary finished, at 2026-02-22 20:29:03.867016
  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 20:29:22.176521
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:29:25.396145
  > 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 20:29:31.507996
  v Summary finished, at 2026-02-22 20:29:32.317278
  > 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 20:30:00.628492
  v Summary finished, at 2026-02-22 20:30:01.052947
  > 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 20:30:05.015666
  v Summary finished, at 2026-02-22 20:30:05.754731
  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 20:30:23.199368
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:30:25.951284
  > 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 20:30:39.752405
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:30:42.391226
  > 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 20:31:28.722589
  v Summary finished, at 2026-02-22 20:31:29.278729
  > 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 20:31:35.875859
  v Summary finished, at 2026-02-22 20:31:37.262019
  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 20:32:02.012084
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:32:04.593426
  > 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 20:32:10.162708
  v Summary finished, at 2026-02-22 20:32:11.374526
  > 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 20:32:41.20487
  v Summary finished, at 2026-02-22 20:32:41.771569
  > 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 20:32:47.61129
  v Summary finished, at 2026-02-22 20:32:48.445243
  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 20:33:09.72364
  v Summary finished, at 2026-02-22 20:33:12.247178
  > 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 20:33:17.895625
  v Summary finished, at 2026-02-22 20:33:19.413846
  > 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 20:33:45.153552
  v Summary finished, at 2026-02-22 20:33:45.917338
  > 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 20:33:53.529685
  v Summary finished, at 2026-02-22 20:33:55.179382
  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 20:34:39.010473
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:34:46.281345
  > 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 20:35:02.349466
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:35:05.337195
  > 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 20:36:17.431999
  v Summary finished, at 2026-02-22 20:36:19.462922
  > 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 20:36:30.271772
  v Summary finished, at 2026-02-22 20:36:31.229373
  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 20:37:34.827213
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:37:43.707215
  > 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 20:37:59.601302
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:38:03.239347
  > 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 20:38:49.905623
  v Summary finished, at 2026-02-22 20:38:51.309346
  > 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 20:38:59.879301
  v Summary finished, at 2026-02-22 20:39:00.310252
  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 20:39:43.821382
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:39:48.427333
  > 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 20:39:57.866587
  v Summary finished, at 2026-02-22 20:39:58.800206
  > 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 20:40:30.46529
  v Summary finished, at 2026-02-22 20:40:30.820602
  > 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 20:40:33.057065
  v Summary finished, at 2026-02-22 20:40:33.434194
  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 20:40:59.884203
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:41:05.28143
  > 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 20:41:14.650851
  v Summary finished, at 2026-02-22 20:41:15.956295
  > 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 20:41:44.356771
  v Summary finished, at 2026-02-22 20:41:44.768896
  > 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 20:41:47.355965
  v Summary finished, at 2026-02-22 20:41:47.873615
  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 20:41:59.989959
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:42:02.962361
  > 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 20:42:07.320914
  v Summary finished, at 2026-02-22 20:42:08.303464
  > 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 20:42:34.570837
  v Summary finished, at 2026-02-22 20:42:34.985911
  > 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 20:42:38.142175
  v Summary finished, at 2026-02-22 20:42:38.582663
  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 20:43:10.971774
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:43:16.122602
  > 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 20:43:23.734325
  v Summary finished, at 2026-02-22 20:43:24.501854
  > 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 20:43:56.535701
  v Summary finished, at 2026-02-22 20:43:57.129366
  > 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 20:44:02.258373
  v Summary finished, at 2026-02-22 20:44:02.719562
  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 20:44:21.674186
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:44:29.758678
  > 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 20:44:37.623984
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:44:40.052593
  > 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 20:45:18.064717
  v Summary finished, at 2026-02-22 20:45:18.421793
  > 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 20:45:21.940181
  v Summary finished, at 2026-02-22 20:45:22.414651
  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 20:45:38.456379
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:45:42.397012
  > 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 20:45:51.623073
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:45:53.964956
  > 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 20:46:28.861396
  v Summary finished, at 2026-02-22 20:46:29.552458
  > 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 20:46:35.128221
  v Summary finished, at 2026-02-22 20:46:36.256138
  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 20:46:59.191469
  ===============>--------------- 1/2 group-strata combinations @ 2026-02-22 20...
  ==============================> 2/2 group-strata combinations @ 2026-02-22 20...
  v Summary finished, at 2026-02-22 20:47:04.359511
  > 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 20:47:12.228513
  v Summary finished, at 2026-02-22 20:47:13.866753
  > 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