Skip to content
Prev 19058 / 21312 Next

[Bioc-devel] Defining functions inside main functions

Hi,

I?m the maintainer of package ?cbaf?.

I have a code section that needs to be repeated several times in a function
and another code section that is repeated in two other functions.

I was thinking about creating a small function inside each function and then,
calling small functions whenever needed.

Is this the best way to do it? Does it require documentation?

Best wishes,
Arman