Skip to content

Commit

Permalink
Replacing length(<DOUBLE>) which is not supported by DuckDB.
Browse files Browse the repository at this point in the history
  • Loading branch information
Admin_mschuemi authored and Admin_mschuemi committed Jan 16, 2025
1 parent d650c63 commit 30f3954
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/DataSplitting.R
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ dataSummary <- function(data) {


result <- data$Train$covariateData$covariates %>%
dplyr::group_by(.data$covariateId) %>%
dplyr::summarise(N = length(.data$covariateValue)) %>%
dplyr::collect()
dplyr::distinct(.data$covariateId) %>%
dplyr::count() %>%
dplyr::pull()

ParallelLogger::logInfo(paste0(nrow(result), " covariates in train data"))
ParallelLogger::logInfo(paste0(result, " covariates in train data"))

if ("Test" %in% names(data)) {
ParallelLogger::logInfo("Test Set:")
Expand Down

0 comments on commit 30f3954

Please sign in to comment.