This converts the long function format (a list with names, bodies, etc.) to a tibble. This makes things like plotting much easier.

function_list_to_tibble(function_list, info = FALSE)

Arguments

function_list

list; a list of the functions. Must contain sublists with a 'name' item

info

logical; should the function info (body and length) be included (default is FALSE)? This information must be in the provided list

Value

tibble; tibble with 1 column ('name') if `info` is FALSE, or 3 columns ('name', 'body' and 'length') if `info` is TRUE