tools/winlibs.R

# Build against libtiff compiled with Rtools
if (!file.exists("../windows/libtiff-4.1.0/mingw64/include/tiff.h")) {
  if(getRversion() < "3.3.0") setInternet2()
  download.file("https://github.com/rwinlib/libtiff/archive/v4.1.0.zip",
                "lib.zip", quiet = TRUE)
  dir.create("../windows", showWarnings = FALSE)
  unzip("lib.zip", exdir = "../windows")
  unlink("lib.zip")
}

Try the tiff package in your browser

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

tiff documentation built on Jan. 31, 2022, 5:06 p.m.