I need to load to R packages : tseries and chron
Both have a function named is.weekend
I always have in my environment the function from the second package I
library(chron) is.weekend.chron <- is.weekend library(tseries)
then you can call is.weekend for the tseries version or is.weekend.chron for the chron version