Rstudio/R can't find path for sh

Thank you for the input!

I didn't use homebrew no.

I have got around my issue by reinstalling R, now packages seem to be installing just fine.