lumberjack icon indicating copy to clipboard operation
lumberjack copied to clipboard

cellwise log does not handle the expression with quotes

Open MeWu-IDM opened this issue 2 years ago • 1 comments

Repro with the following example, the expression is broken down to 2 columns / shift the other columns to the right and makes the logs incorrect

data(women)
women$sleutel <- 1:nrow(women)
head(women)
women <- women %L>%
  start_log(log=cellwise$new(key="sleutel")) %L>%
  mutate( istall = ifelse(height>60, "Yes", "NO")) %L>%
  dump_log(file=logfile, stop=TRUE)
head(women)

image

MeWu-IDM avatar May 10 '22 20:05 MeWu-IDM

@markvanderloo is there a workaround for this issue? it seems that the expression with comma + quote does not generate a valid log.

MeWu-IDM avatar May 18 '22 02:05 MeWu-IDM