r-rudra / tidycells

Automatic transformation of untidy spreadsheet-like data into tidy form
https://r-rudra.github.io/tidycells/
Other
83 stars 10 forks source link

Clean up class assignments #40

Open bedantaguru opened 4 years ago

bedantaguru commented 4 years ago

make sure primitive types and S3 inheritance is maintained correctly.

bedantaguru commented 4 years ago

You need to put the class at the front of the vector. Otherwise it’s no longer technically a data frame.

Originally posted by @hadley in https://github.com/tidyverse/dplyr/issues/5211#issuecomment-626164168