Rexcel error

I have an issue in RExcel, whenever there is an R code error in my sheet it leads to breakage of my VBA codes in my Rexcel, and my process comes to a standstill.

Is there any solution to bypass the R code error and run the VBA codes?