import | R Documentation |
This function is used by the "code libary" RStudio 'Addin' to bring external code into your project.
import(
copy_table,
overwrite = FALSE,
silent = FALSE,
skip = "\\.mod$",
find_replace_dir_names = TRUE
)
copy_table |
A |
overwrite |
Logical (default = |
silent |
Logical (default = |
skip |
Character (default = |
find_replace_dir_names |
Logical (default = TRUE). Will attempt to find
replace strings in scripts to reflect |
Invisibly returns copy_table
argument.
code_library()
, stage()
## requires NMproject directory structure
## Not run:
## both of these following operations are easier in the shiny code library
## RStudio 'Addin'.
ls_code_library("Models/ADVAN2.mod") %>%
import() ## ends up in "staging/Models"
ls_code_library("Scripts/AUC.R") %>%
import() ## ends up "scripts" directory
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.