Skip to content

Commit ff12c54

Browse files
committed
CSM and EQS don't have function. Fix this issue
1 parent ec07ea1 commit ff12c54

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

R/applyFUN.R

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -140,20 +140,16 @@ scatterFUN <- function(R, FUN, arguments=NULL){
140140
if(is.null(nargs$portfolio_method)) nargs$portfolio_method='single'
141141
if(is.null(nargs$invert)) nargs$invert = FALSE
142142
},
143-
csm =,
144-
mCSM =,
145-
CSM = {
146-
fun = match.fun(CSM)
147-
if(is.null(nargs$portfolio_method)) nargs$portfolio_method='single'
148-
if(is.null(nargs$invert)) nargs$invert = FALSE
149-
},
150-
eqs =,
151-
mEQS =,
152-
EQS = {
153-
fun = match.fun(CSM)
154-
if(is.null(nargs$portfolio_method)) nargs$portfolio_method='single'
155-
if(is.null(nargs$invert)) nargs$invert = FALSE
156-
},
143+
# CSM = {
144+
# fun = match.fun(CSM)
145+
# if(is.null(nargs$portfolio_method)) nargs$portfolio_method='single'
146+
# if(is.null(nargs$invert)) nargs$invert = FALSE
147+
# },
148+
# EQS = {
149+
# fun = match.fun(EQS)
150+
# if(is.null(nargs$portfolio_method)) nargs$portfolio_method='single'
151+
# if(is.null(nargs$invert)) nargs$invert = FALSE
152+
# },
157153
{ # see 'S Programming p. 67 for this matching
158154
fun <- try(match.fun(FUN))
159155
}

0 commit comments

Comments
 (0)