View source: R/create_directory_systems.R
delete_directory_system | R Documentation |
delete_directory_system
Deletes directory system created by delete_directory_system
. Primarily used to restore
filespaces to original in examples/tests/vignettes.
delete_directory_system(rootdir = NULL)
rootdir |
Directory within which to delete the directory system |
No return value, deletes directory system in the specified directory.
## Print current working directory
getwd()
## Create directory system
create_directory_system(tempdir())
file.exists(file.path(tempdir(),"data"))
file.exists(file.path(tempdir(),"code"))
file.exists(file.path(tempdir(),"codelists"))
## Return filespace to how it was prior to example
delete_directory_system(tempdir())
file.exists(file.path(tempdir(),"data"))
file.exists(file.path(tempdir(),"code"))
file.exists(file.path(tempdir(),"codelists"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.