cipstest() :2nd generation panel unit root test

cipstest(panel.df$rea, lags=2, type=c("trend"))

Error in xy.coords(x, y, setLab = FALSE) : 'x' and 'y' lengths differ

Please help.