Description Usage Arguments Value Examples
View source: R/dir.check.add.r
Used in several functions before saving output. Ensures that the code doesn't fail by making sure the directory exists.
1 | dir.check.add(Dir.main = getwd(), Dir.sub)
|
Dir.main |
Main/root directory; default is getwd() |
Dir.sub |
sub directory to check for and add if necessary. |
Nothing to return
1 2 3 | Dir.main <- getwd()
Dir.sub <- "output"
dir.check.add(Dir.main, Dir.sub)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.