Compared to what you have in `melt_check.r`, I think it's pretty comparable, although I agree that the 'argument checking and handling' should usually live at the `R` level. I think it's still reasonable here though, but I can move it if you prefer.