src/install.libs.R

folnames = c("bin", "lib", "core",
             # "src",
             "docs")
folders = file.path("mrtrix3", folnames)
# dest <- file.path(R_PACKAGE_DIR, folders)

# sapply(dest, dir.create, recursive = TRUE, showWarnings = FALSE)
sapply(folders, function(x) {
  file.copy(x, to = R_PACKAGE_DIR, overwrite = TRUE, recursive = TRUE)
})
# }, folders, dest)
muschellij2/mrtrix documentation built on July 9, 2019, 9:15 a.m.