Added missing r dependency