Remove the if build with R condition