I was able to install ggsurvfit package, but was not able to library it. I pasted all information below.
install.packages("ggsurvfit")
The downloaded source packages are in ‘C:\Users\CH225175\AppData\Local\Temp\Rtmpk323Ys\downloaded_packages’
library(ggsurvfit)
Error in library(ggsurvfit) : there is no package called ‘ggsurvfit’
For those who cannot install ggsurvfit package properly, here are the steps that helped me to install it: