View source: R/dpr_create_package.R
Write data R script
1 2 3 4 5 6 7 | dpr_write_script(
folder_dir,
r_read = "",
r_folder_write = "data-raw",
r_write = "",
append_file = FALSE
)
|
folder_dir |
is the folder on your local computer where you store your git repository |
r_read |
either a path to an R script, the clipboard if 'NULL', or an 'rlang::expr' object. |
r_folder_write |
a path to a folder where the R script will be written |
r_write |
the name of the file to write contents of 'r_read' |
append_file |
Whether to append 'TRUE' or overwrite 'FALSE' (default) the file 'r_write'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.