tools/winlibs.R

# Download GPGME
VERSION <- commandArgs(TRUE)
if(!file.exists(sprintf("../windows/gpgme-%s/include/gpgme.h", VERSION))){
  if(getRversion() < "3.3.0") setInternet2()
  download.file(sprintf("https://github.com/rwinlib/gpgme/archive/v%s.zip", VERSION), "lib.zip", quiet = TRUE)
  dir.create("../windows", showWarnings = FALSE)
  unzip("lib.zip", exdir = "../windows")
  unlink("lib.zip")
}

Try the gpg package in your browser

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

gpg documentation built on May 31, 2023, 9:21 p.m.