Will throw and error if the items parameter is not a data frame. Added an example two the demo how to use the drop=FALSE parameter for subsetting a data frame so that it doesn't simplify to a vector or factor.