Should use reshape::melt (the original S3 generic) rather  than reshape::melt.default.