add R version dependency