When I was calling Stata from R, the code ran smoothly but it does not allow me to knit the document and return an error message like this :