Skip to content

Commit

Permalink
Testing fix for integer 64 issue
Browse files Browse the repository at this point in the history
  • Loading branch information
azimov committed Mar 20, 2024
1 parent 03c40ab commit 5327fcf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/CohortLevelDiagnostics.R
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ getCohortCounts <- function(connectionDetails = NULL,
tidyr::tibble()

if (length(cohortIds) > 0) {
cohortIdDf <- tidyr::tibble(cohortId = cohortIds)
cohortIdDf <- tidyr::tibble(cohortId = as.numeric(cohortIds))
counts$cohortId <- as.numeric(counts$cohortId)

counts <- cohortIdDf %>%
dplyr::left_join(counts, by = "cohortId") %>%
tidyr::replace_na(list(cohortEntries = 0, cohortSubjects = 0))
Expand Down

0 comments on commit 5327fcf

Please sign in to comment.