From cdea7f5338c852dea9fc4f7405bd936c51c40129 Mon Sep 17 00:00:00 2001 From: Hollos Roland Date: Fri, 19 Mar 2021 15:08:46 +0100 Subject: [PATCH] fixing bad handler bug --- 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 ba1e636..216f3f0 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"))),function(e){"If you are in Windows..."}) + file.path("tmp", paste0(thread_prefix,"_1"))), error = function(e){"If you are in Windows..."}) }) sapply(2:numCores,function(thread){