Open bedantaguru opened 4 years ago
make sure primitive types and S3 inheritance is maintained correctly.
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
make sure primitive types and S3 inheritance is maintained correctly.