I found this works:
install.packages("rpart",repos = "https://CRAN.R-project.org/package=rpart")
Regards
Ditelliano