Description Usage Arguments Value See Also Examples
Inserts code wrapped in the quote function into a function after the specified line.
1 | line_insert(.f, after_line, quoted_code)
|
.f |
Any non-primitive function |
after_line |
An integer that specifies where to insert quoted_code |
quoted_code |
An expression wrapped in quote() |
function
list_body
line_insert
line_remove
1 | lapply_hello <- line_insert(lapply, 1, quote(print('Hello!')))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.