Hi, and welcome!
A question like this is almost impossible to address without a reproducible example, called a reprex extremely difficult to answer, especially with a package that is only available in source code.
Also, we know nothing about your advisor's system configuration and the configurations of the systems that you've used. I'll try to compile the code, and I'll come back if I'm successful.