Knitting R code chunks into a word/pdf

You are not providing enough information for us to give you any specific advice but you usually get those kind of error messages when you not specify file paths correctly, relative to the current working directory.

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.