Description Usage Arguments Value Examples
Create directories for cache
1  | create.directory.for.cache(base.dir, parent.path)
 | 
base.dir | 
 tentative base dir to create.  | 
parent.path | 
 first 4 characters of digest that will become parent directory for the actual cache file (this reduces number of files per folder)  | 
a list of updated base.dir and parent.dir
1 2 3 4 5 6 7  | loose.rock:::create.directory.for.cache(tempdir(), 'abcd')
## Not run: 
  loose.rock:::create.directory.for.cache(
    file.path(getwd(), 'run-cache'), 'abcd'
  )
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.