Skip to content

Commit

Permalink
fix assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
egillax committed Oct 17, 2024
1 parent 7e413b8 commit f19b011
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions R/ExternalValidatePlp.R
Original file line number Diff line number Diff line change
Expand Up @@ -698,9 +698,12 @@ getData <- function(design, database, outputFolder, downloadTasks) {
collapsed = sapply(.data$restrictPlpDataSettings, paste0, collapse = "|")) %>%
dplyr::filter(.data$collapsed == paste0(design$restrictPlpDataSettings, collapse = "|")) %>%
dplyr::select(-"collapsed")
task$covariateSettings <- task$covariateSettings[[1]]
if (length(task$covariateSettings) > 1) {
covariateSettings <- task$covariateSettings[[1]]
task$covariateSettings <- NULL
if (length(covariateSettings) > 1) {
task$covariateSettings <- unlist(task$covariateSettings, recursive = FALSE)
} else {
task$covariateSettings <- covariateSettings
}

databaseName <- database$cdmDatabaseName
Expand Down

0 comments on commit f19b011

Please sign in to comment.