use_fn | R Documentation |
Create or edit a .R file
use_fn(name, ..., folder = "R")
name |
Function name, either as a string or an unquoted name |
... |
Unquoted function arguments |
folder |
The folder to place the file in. Defaults to "R". |
usethis::use_r()
## Not run:
use_fn(test_function, x, y = "z")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.