aboutsummaryrefslogtreecommitdiffstats
path: root/R
diff options
context:
space:
mode:
Diffstat (limited to 'R')
-rw-r--r--R/build_scenarios.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/R/build_scenarios.R b/R/build_scenarios.R
index 7d55b22c..03be570d 100644
--- a/R/build_scenarios.R
+++ b/R/build_scenarios.R
@@ -13,7 +13,7 @@ if(length(args) >= 1){
}
if(length(args) >=2){
- dealnames <- args[2:len(args)]
+ dealnames <- args[2:length(args)]
}else{
dealnames <- read.table(file.path(root.dir, "scripts", "scenarios.txt"))$V1
unlink(file.path(root.dir, "scripts", "scenarios.txt"))