tools/winlibs.R

# Build against static libpq
if(!file.exists("../windows/libpq-9.5.2/include/libpq-fe.h")){
  if(getRversion() < "3.3.0") setInternet2()
  download.file("https://github.com/rwinlib/libpq/archive/v9.5.2.zip", "lib.zip", quiet = TRUE)
  dir.create("../windows", showWarnings = FALSE)
  unzip("lib.zip", exdir = "../windows")
  unlink("lib.zip")
}

Try the rpg package in your browser

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

rpg documentation built on May 2, 2019, 5:14 a.m.