aboutsummaryrefslogtreecommitdiffstats
path: root/R/yieldcurve.R
diff options
context:
space:
mode:
Diffstat (limited to 'R/yieldcurve.R')
-rw-r--r--R/yieldcurve.R1
1 files changed, 1 insertions, 0 deletions
diff --git a/R/yieldcurve.R b/R/yieldcurve.R
index 8184041b..d3cdc7bc 100644
--- a/R/yieldcurve.R
+++ b/R/yieldcurve.R
@@ -18,6 +18,7 @@ getMarkitIRData <- function(date=Sys.Date()) {
if(firstline == "Interest Rates not available, please check date entered") {
i <- i + 1
close(con)
+ unlink(temp)
} else {
cat("downloaded data for:", lastdate,"\n")
close(con)