filter zero-variance variables, require colnames
test for inputs/errors