diff options
Diffstat (limited to 'R/test_options.R')
| -rw-r--r-- | R/test_options.R | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/R/test_options.R b/R/test_options.R index babc8bf4..1d41bba9 100644 --- a/R/test_options.R +++ b/R/test_options.R @@ -1,11 +1,10 @@ -root.dir <- "/home/share/CorpCDOs" -code.dir <- if(Sys.getenv("CODE_DIR")!="") Sys.getenv("CODE_DIR") else root.dir -source(file.path(code.dir, "code", "R", "yieldcurve.R")) -source(file.path(code.dir, "code", "R", "optimization.R")) -source(file.path(code.dir, "code", "R", "calibration.R"), chdir=TRUE) -source(file.path(code.dir, "code", "R", "serenitasdb.R")) -source(file.path(code.dir, "code", "R", "creditIndex.R")) -source(file.path(code.dir, "code", "R", "tranche_functions.R")) +library(logging) +source("yieldcurve.R") +source("optimization.R") +source("calibration.R") +source("serenitasdb.R") +source("creditIndex.R") +source("tranche_functions.R") tradedate <- as.Date("2016-08-02") exportYC(tradedate) |
