sdcTools / sdcMicro

sdcMicro
http://sdctools.github.io/sdcMicro/
79 stars 23 forks source link

Bug due to update of haven package #273

Closed thijsbenschop closed 5 years ago

thijsbenschop commented 5 years ago

From version 2.0.0 of the haven package (release November 2018), labelled variables are imported as class "haven_labelled" instead of class "labelled". Variables of class "haven_labelled" aren'T converted to factor in sdcApp. Therefore, this class needs to be added.

In order to accomodate for users of older and newer versions of the haven package, I suggest to keep both.

bernhard-da commented 5 years ago

@thijsbenschop pr merged, thx.