adds R to the dependency list