Ctex in r markdown problem

hi guys, i have met a problem and i need your help desperately!
when i open a r markdown under the ctex, i could get the result in the form of pdf. it just couldn't work it out. the specific error is as follows
it says
'mismatched latex support files detected
loading "expl3.sty" aborted
the L3 programming layer in the latex format.......'
and there is also a warning message as follows
warning message:
in has_crop_tools( ):
tool(s) not installed or not in PATH:ghostcrip
as a result, figure cropping will be disabled

it has already bother me for a really long time. and i don't know how to deal with that.
thank you guys!

you should try reinstall your LaTeX package. Are you using TinyTeX ?

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.