Added require(plyr) to report templates