Skip to content

Commit

Permalink
Bugfix for types and some additional logging
Browse files Browse the repository at this point in the history
  • Loading branch information
frankcorneliusmartin committed Jan 25, 2024
1 parent 0153deb commit 3101257
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vtg.preprocessing/R/assign_types.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
assign_types <- function(data, types) {

column_names <- names(types)

vtg::log$debug("Assigning types to columns: ", column_names)

# for each specified column in types set the appropiate type
for (i in seq_len(length(types))) {
Expand Down
2 changes: 1 addition & 1 deletion vtg.summary/src/R/RPC_variance_sum.R
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RPC_variance_sum <- function(data, columns, mean, types = NULL,
data <- vtg.preprocessing::factorize(data)

# execute checks that are common to all RPCs
data <- vtg.summary::common_checks_rpc(data, columns, types)
data <- vtg.preprocessing::common_checks_rpc(data, columns, types)
if ("error" %in% names(data)) {
# Return error message
return(data)
Expand Down

0 comments on commit 3101257

Please sign in to comment.