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/pak documentation built on Nov. 9, 2024, 2:34 a.m.