You are going all over the place with this, you have to focus on one issue at a time for example this package is available from Bioconductor, not from CRAN
BiocManager::install("survcomp")
Also, most likely updating your R version will help more than downgrading it, the latest stable version is 4.0.5