Description Usage Arguments Value Examples
View source: R/script_newest.R
Selects the newest function of an R script, and sources it (default). Makes sourcing a script easier to read than source() in itself, when using some form of scriptnaming where the project-name is also included in the script. Throws an error if several versions of the same scripts exists. Requires a naming convention with
1 | script_newest(script, dir = "r/", extension = "r", path = TRUE, source = TRUE)
|
dir |
directory to search in |
extension |
extension to look for |
path |
should the path be returned or just the script name? |
source |
should the script be sourced? defaults to TRUE |
This function returns the url
blah blah blah
1 2 3 4 | ## Not run:
function(arg1)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.