On production server after some time after ugrade to KNIME 3.4.0 I realise a consistent error that occurs in R Snippet node. The Snippet calculated interval using lubridate package and creating a new column in exexisting data like for instance:
library(lubridate)
input <- knime.in
s <- knime.in$"Date_Start"
int <- interval(ymd(s), ymd(knime.flow.in[["Date"]]))
Laufzeit <- time_length(int, "month")
output <- cbind(input, Laufzeit)
knime.out <- as.data.frame(output)
This simple code runs ok in R, also ran ok under KNIME 3.3.2 however after upgrade it returns all weird results including filtering rows . As I said, this is on production server hence not a nice situation. Cannot solve it at all, had to downgrade to 3.3.2 again which produces results as expected.
Any idea what is going on?