lrberge / fixest

Fixed-effects estimations
https://lrberge.github.io/fixest/
377 stars 59 forks source link

Compatibility issue with ```fixest_multi``` from older version #411

Open shoonlee opened 1 year ago

shoonlee commented 1 year ago

Hi,

There seems to be a compatibility issue with a fixest_multi object generated from an older version of the package. I have a very large regression result that I have stored using lean=TRUE option. It worked well until a recent package update, but it seems to have a compatibility problem with etable. For instance, a fixest_multi object below gets an error message.

> etable(entire_weekly_inc)
Error: in etable(entire_weekly_inc):
 Not any 'fixest' model as argument!

But glimpse command suggests that there are estimated results stored in this file.

> glimpse(entire_weekly_inc)
List of 4
 $ sin_exp    : num 1
 $ sin_trips  : num 1
 $ sin_avg_exp: num 1
 $ sin_online : num 1
 - attr(*, "meta")=List of 3
  ..$ index    :List of 1
  .. ..$ lhs: int 4
  ..$ all_names:List of 2
  .. ..$ lhs: chr [1:4] "sin_exp" "sin_trips" "sin_avg_exp" "sin_online"
  .. ..$ rhs: chr "mean_below30 + mean_30_40 + mean_40_50 + mean_60_70 + mean_70_80 + mean_80_90 + mean_over90 + ppt + pptsq"
  ..$ tree     :'data.frame':   4 obs. of  2 variables:
  .. ..$ lhs: int [1:4] 1 2 3 4
  .. ..$ obs: int [1:4] 1 2 3 4

It takes a couple of days to run these regression models rerunning it is really costly here. Is there any way to salvage earlier results? (and this would matter for reproducibility more generally) Thanks!