search for: utxt

Displaying 1 result from an estimated 1 matches for "utxt".

Did you mean: txt
2013 Jan 24
2
functions as arguments to ther functions with inlinedocs
Dear R community, I have a problem when I use functions as default values for argumnents in other functions. When I use curly brackets { here, I can not create a package with inlinedocs. It will give me the error when using package.skeleton() in my package structure: Error in parse(text = utxt) : <text>:4:0: unexpected end of input For example: dummyfunction = function(filters = function(x) {b = 0; x > b} )) { # rest of code here return(filters) } This seems to me as a legal function declaration but creates the above mentioned error. Is this an error of inlinedocs or...