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)
}

Try the pak package in your browser

Any scripts or data that you put into this service are public.

pak documentation built on May 29, 2024, 10:35 a.m.