I have a solution! Try to remove the package "xfun" from the packages section. And reinstall. Now I can knit to PDF. That is what worked for me, I hope it helps!
I have a solution! Try to remove the package "xfun" from the packages section. And reinstall. Now I can knit to PDF. That is what worked for me, I hope it helps!