diff --git a/R/runSWATpar.R b/R/runSWATpar.R index 0f1fcd7..e97d757 100644 --- a/R/runSWATpar.R +++ b/R/runSWATpar.R @@ -189,10 +189,8 @@ runSWATSequential <- function(coreNumber, # Check platform if(.Platform$OS.type == "unix") { system(paste0("./", trimws(exeFile[length(exeFile)]))) - } else if (.Platform$OS.type == "windows") { - system(trimws(exeFile[length(exeFile)])) } else { - stop("Unknown platform in runSWATpar.R") + system(trimws(exeFile[length(exeFile)])) } # Check first run