Knitting vignette 01 not possible
The issue is located at line 87:
Precip <- MergeTS(Precip, id, ts[,c("Date", "Ptot")])
which executes line 71:
dfOut <- merge(dfOld, dfNew, by = "DatesR", all = TRUE)
I think that the first issue is that one of the objects does not have a DatesR
column.
But renaming the Date column still results in a problem:
Error in sort.list(bx[m$xi]) : 'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?