xfun error with Rmarkdown knitting pdf

I am trying to knit my rmarkdown to pdf however I get this error:
Error: 'set_envvar' is not an exported object from 'namespace:xfun'
Execution halted

Can anyone help me with it?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.