Closed dbosak01 closed 3 years ago
Looks like they are being lost right at the point the datastep is attempting to save off the attributes. The base R subsetting operators strip the column attributes.
Pretty sure this worked previously. Maybe something changed in the new R release. Should make a test for it.
I see. It works on a tibble, but not a Base R dataframe.
Add a few lines to datastep function detect if the incoming data is a data.frame and copy the attributes to temporary storage.
Any attributes assigned to data frame columns are being stripped during the datastep. These need to be restored. I had code to do this, and I think it is working on the dataframe attributes. But the column attributes are being lost.