Problem with kable() function

Hi, welcome to the forum.
We need a reproducible example (reprex)
FAQ: How to do a minimal reproducible example ( reprex ) for beginners .

Given that it seems a coding problem can you give us the output of sessionInfo() as well