Description Public fields Methods Examples
Constructs an R6 class of FileCabinet. Objects of class
FileCabinet contain information that is used by new_cabinet_proj()
to create project directories.
name
cabinet name.
directory
the path to where future directories will be created, a string.
structure
the directory structure, a list.
new()
FileCabinet$new(name, directory, structure)
name
cabinet name.
directory
the path to where future directories will be created, a string.
structure
the directory structure, a list.
Create a new 'FileCabinet' object.
A cabinet object.
FileCabinet$new("test", "a/path", list(code = NULL, 'data/derived' = NULL, 'data/source' = NULL))
print()
FileCabinet$print()
Print an object of class FileCabinet.
clone()
The objects of this class are cloneable with this method.
FileCabinet$clone(deep = FALSE)
deep
Whether to make a deep clone.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.