Checking for "df" requires specifying an object with mode "list", because "df" is also the function for the density of the F distribution.
Corrected label to "datetime" from "DateTime"