R/onload.R

Defines functions .onLoad .onAttach

.onAttach <- function(libname, pkgname){
  ssl <- sub("\\(.*\\)\\W*", "", curl_version()$ssl_version)
  msg <- paste("Using libcurl", curl_version()$version, "with", ssl)
  packageStartupMessage(msg)
}

.onLoad <- function(libname, pkgname){
  assign("option_type_table", make_option_type_table(), environment(.onLoad))
}

Try the curl package in your browser

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

curl documentation built on Sept. 30, 2024, 9:35 a.m.