added a step which transform empty strings into NAs. probably the RExcel option that sends date labels "verbatim", also made the missing values become empty string, which is probably what broke the code (fingers crossed).