Description Usage Arguments See Also
This function takes the current project directory (by default), and peforms a project-wide, global find & replace in all files (via gsub()); this is similar to how one might use sed, but in R syntax. This function is designed to be only run interactively, and is strict in its request for confirmation, to prevent any accidental replacement.
1 | find_replace(pattern, replacement, proj_dir = here::here(), ...)
|
pattern |
Pattern to search for. Pattern is taken as a regular
expression (since it is passed to |
replacement |
Replacement for |
proj_dir |
Project directory to search. By default, calls |
... |
Other arguments passed on to gsub. |
gsub
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.