tests/testthat/_snaps/addDrugUtilisation.md

test subfunctions

Code
  addNumberEras(cdm$dus_cohort, NULL, gapEra = 1)
Condition
  Error in `addNumberEras()`:
  ! `conceptSet` can not be NULL. It muts be a named list of concept_id(s).
Code
  addDaysExposed(cdm$dus_cohort, NULL, gapEra = 1)
Condition
  Error in `addDaysExposed()`:
  ! `conceptSet` can not be NULL. It muts be a named list of concept_id(s).
Code
  addTimeToExposure(cdm$dus_cohort, NULL)
Condition
  Error in `addTimeToExposure()`:
  ! `conceptSet` can not be NULL. It muts be a named list of concept_id(s).
Code
  addInitialQuantity(cdm$dus_cohort, NULL)
Condition
  Error in `addInitialQuantity()`:
  ! `conceptSet` can not be NULL. It muts be a named list of concept_id(s).
Code
  addCumulativeQuantity(cdm$dus_cohort, NULL)
Condition
  Error in `addCumulativeQuantity()`:
  ! `conceptSet` can not be NULL. It muts be a named list of concept_id(s).
Code
  addNumberExposures(cdm$dus_cohort, NULL)
Condition
  Error in `addNumberExposures()`:
  ! `conceptSet` can not be NULL. It muts be a named list of concept_id(s).
Code
  addCumulativeDose(cdm$dus_cohort, NULL)
Condition
  Error in `addCumulativeDose()`:
  ! `ingredientConceptId` or `conceptSet` must be provided.
Code
  addInitialDailyDose(cdm$dus_cohort, NULL)
Condition
  Error in `addInitialDailyDose()`:
  ! `ingredientConceptId` or `conceptSet` must be provided.
Code
  addDrugUtilisation(cdm$dus_cohort, gapEra = 1)
Condition
  Error in `addDrugUtilisation()`:
  ! `ingredientConceptId` or `conceptSet` must be provided.


Try the DrugUtilisation package in your browser

Any scripts or data that you put into this service are public.

DrugUtilisation documentation built on July 3, 2025, 1:08 a.m.