Try to reinstall package curl
remove.packages("curl") install.packages("curl", type = "source")
or try to reinstall in brew/apt/yum
brew update brew install curl