ic_copy_script | R Documentation |
Creates a new file with header. Function is not exported.
ic_copy_script(filepath, rfile_path, open = F)
filepath |
File to be created. |
rfile_path |
R file to source |
open |
Should the file be open (True/False) |
## Not run:
ic_new_file("myfile.R", fs::path_package(
"integral",
"templates/example_project/rfile_w_header.R"
))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.