diff options
| -rw-r--r-- | R/load_cf.R | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/R/load_cf.R b/R/load_cf.R index 3395852f..99151b40 100644 --- a/R/load_cf.R +++ b/R/load_cf.R @@ -214,6 +214,9 @@ getcusipcf <- function(params, cfdata, dist, tradedate=Sys.Date()){ col_skip(), col_skip())),
warning=function(w){
message(conditionMessage(w))
+ NULL},
+ error=function(e){
+ message(conditionMessage(e))
NULL})
if(is.null(data)||nrow(data)<=2){
cat(cusip, "Scenario", j, "\n")
|
