ycroissant / plm

Panel Data Econometrics with R
GNU General Public License v2.0
49 stars 13 forks source link

Fix incorrect class test #14

Closed MichaelChirico closed 2 years ago

MichaelChirico commented 2 years ago

The current test silently looks at only class(.)[[1]].

We could also use all(class(.) == .) but I think identical() is probably more appropriate here.