line_remove: Removes an expression from a function body

Description Usage Arguments Value See Also Examples

View source: R/line_remove.R

Description

This function will remove an expression from the function body. Use list_body() or plot_body on any function to see which lines are able to be removed.

Usage

1

Arguments

.f

A non-primitive function

line

An expression from the body of the function

Value

function

See Also

list_body

Examples

1
2
line_remove(.f = purrr::map, line = 2)
line_remove(.f = purrr::map, line = 3)

frite documentation built on July 1, 2018, 5:04 p.m.