source_lib | R Documentation |
sources the file (usually a script file of r functions)
source_lib(
libname,
proj_path = orrr::dir.project(),
lib_path = "code/libs/",
prefix = "lib_",
verbose = FALSE
)
libname |
- character - name of file to readLoines from |
proj_path |
- character - path to the project, passed to orrr::dir.project; default value= "orrr::dir.project()" |
lib_path |
- character - path to the project, passed to orrr::dir.project; default value= "code/libs/" |
prefix |
- character - prefix added to lib to get filename; default value = "lib_" |
verbose |
- logical - cat the filename; default value = FALSE |
the value of the sourcing of the file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.