Remove R and git references from setup

Remove unused blocks of code to fix format issues