Error generating PDF in R Markdown

I think you have a similar issue as @dkStevensNZed here

I don't know if a solution was found or not...

I is possible this is an issue because you have a space in your username, CreateProcess does not seems to like that. There is some mention on this on the web, but I am not sure... :man_shrugging:

This needs to be investigated.

Out of curiosity, is this working ?

tinytex::tlmgr("--version")