In r when we run cips test it is valid for cross sections greater than 10, so when we have n small than T, then this test gives the above mentioned error.