Modified all .R files as as.date() function was used and Date column was
already converted to Date class.