R/embed-ca-certs.R

Defines functions embed_ca_certs

embed_ca_certs <- function(lib) {
  certfile <- file.path(lib, "pak", "curl-ca-bundle.crt")
  utils::download.file("https://curl.se/ca/cacert.pem", certfile)
}
r-lib/pkg documentation built on May 6, 2024, 3:04 p.m.