knitr::opts_chunk$set(echo = TRUE)
frite
is a package that provides tools to modify and write functions. It can also aid in code generation or metaprogramming. Or you can just use the diagnostic functions for code refactoring.
Diagnostic
tictocify
returns a nearly identical timed version of its input is.output.same
performs call on multiple functions and sees if they match Modification
line_assign
inserts assign()
into a function line_insert
inserts code into a function line_remove
removes code from a function copy_args
copies the arguments of one function to another Helping
list_body
converts function body to a list plot_body
plots list_body()
so you can inspect the bodyYou can install frite
from cran:
install.packages("frite")
Or you can install the development version from github:
install.packages("devtools")
devtools::install_github("visuelledata/frite")
See the getting started vignette for more!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.