0

In R using the plm package, pwfdtest produces an error message even with the test data:
pwfdtest(log(emp) ~ log(wage) + log(capital), data = EmplUK, h0 = "fe")

Error message:

"Error in order(nchar(cnames), decreasing = TRUE) : 4 arguments passed to .Internal(nchar) which requires 3".

Bug or am I missing something?

Domysee
  • 12,718
  • 10
  • 53
  • 84

1 Answers1

0

I had a similar question myself with a similar test (linearHypothesis). Apparently the nchar function changed, so you need to install the newest version of R and then update all your packages. After re-installing R,

update.packages(checkBuilt=TRUE, ask=FALSE)
Community
  • 1
  • 1
Garret C
  • 43
  • 6