tools/winlibs.R

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

Try the webp package in your browser

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

webp documentation built on May 2, 2019, 7:02 a.m.