R function with name and signature on different lines is not recognized as a function

Dan Tenenbaum 8 ár síðan 0

An R function formatted like this is not recognized by 

Sublime Text (Goto Symbol, etc) as a function, although it is perfectly valid syntax and in fact is the preferred coding style in some groups:

funcName <-

    function(arg1, arg2)
    # function body