src/install.libs.R

execs <- file.path("iracebin", c("irace","ablation"))
if (WINDOWS) execs <- paste0(execs, ".exe")
if (any(file.exists(execs))) {
  dest <- file.path(R_PACKAGE_DIR,  paste0('bin', R_ARCH))
  #print(dest)
  dir.create(dest, recursive = TRUE, showWarnings = FALSE)
  file.copy(execs, dest, overwrite = TRUE)
} else {
  stop(execs, " not found!")
}

Try the irace package in your browser

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

irace documentation built on Oct. 23, 2022, 5:06 p.m.