Liming Wang 26 oct 2020, bug for intercept only models fixed in unfold_idx function
reshape is unsafe with tibbles, coerce to data frame and then back to tibble in this case