From 9d8ac6bbdc130ba5556be2537077369b8f300ca0 Mon Sep 17 00:00:00 2001 From: Hollos Roland Date: Fri, 19 Mar 2021 15:01:49 +0100 Subject: [PATCH] file copy bug solve --- RBBGCMuso/R/multiSite.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RBBGCMuso/R/multiSite.R b/RBBGCMuso/R/multiSite.R index baa44fc..ba1e636 100644 --- a/RBBGCMuso/R/multiSite.R +++ b/RBBGCMuso/R/multiSite.R @@ -10,7 +10,7 @@ copyToThreadDirs2 <- function(iniSource, thread_prefix = "thread", numCores, exe file.copy(executable, file.path("tmp", paste0(thread_prefix,"_1"),tools::file_path_sans_ext(basename(x)))) tryCatch(file.copy(file.path(execPath,"cygwin1.dll"), - file.path("tmp", paste0(thread_prefix,"_1"),tools::file_path_sans_ext(basename(x)))),function(e){"If you are in Windows..."}) + file.path("tmp", paste0(thread_prefix,"_1"))),function(e){"If you are in Windows..."}) }) sapply(2:numCores,function(thread){