src/install.libs.R

progs <- if (WINDOWS) {
           c("rem.exe", "asciicastclient.dll")
         } else {
           c("rem", "asciicastclient.so")
         }

dest <- file.path(R_PACKAGE_DIR, paste0("bin", R_ARCH))
dir.create(dest, recursive = TRUE, showWarnings = FALSE)
suppressWarnings(file.copy(progs, dest, overwrite = TRUE))
r-lib/asciicast documentation built on Jan. 31, 2024, 1:19 p.m.