src/install.libs.R

# From R-exts 1.1.5
execs <- c("pprof")
if(WINDOWS) execs <- paste0(execs, ".exe")
if ( any(file.exists(execs)) ) {
  dest <- file.path(R_PACKAGE_DIR,  paste0('bin', R_ARCH))
  dir.create(dest, recursive = TRUE, showWarnings = FALSE)
  file.copy(execs, dest, overwrite = TRUE)
}
r-prof/r-pprof documentation built on May 23, 2019, 7:33 a.m.