tools/winlibs.R

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

Try the archive package in your browser

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

archive documentation built on Sept. 13, 2024, 1:07 a.m.