Description Usage Arguments Details

View source: R/insert_return.R

This function transforms a function so that every expression that can be
returned is explicitly marked by a `return()`

expression.

1 | ```
insert_return(node, ..., recursive = TRUE)
``` |

`node` |
(Function) The function to transform. |

`...` |
Optional arguments to and from methods. |

`recursive` |
(logical) Should functions defined in |

This is an in-place transformation! This function may not behave as expected if called on a non-function.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.