The function provided in NCStats is levenesTest() (note the s on levenes) rather than the leveneTest() provided by the car package. So, make sure to include the s.