Make the R requirement optional

While there, unify indentation