prior to viewing, test for coercion to data frame (provide better errors)