Description Usage Arguments Details
Keep track of important items from previous analyses.
1 2 3 4 5 6 7 8 |
tag |
identifier for an inventory record that you want to add. |
inv_location |
Path to the inventory you want to create or modify. If possible, this arg defaults to the parent of the last destination given to 'freeze'. |
filename |
relative path from |
extra |
Any character string without tabs. Meant for metadata to be associated with the given |
parent_tag |
identifier for a file that this analysis depends on. |
force |
Bump any existing entry with the given tag, moving it to a backup with a similar name. Default is |
inventory_*
functions help track data as it passes through multiple stages of analysis.
The central data structure is a table with the filename .inventory.txt
. It has five
columns: tag
, parent_tag
, date_modified
, filename
, and extra
.
inventory_add
looks for this table at the inv_location
you specify.
inventory_add
will add a row with the given tag. If that tag is present already and
force==TRUE
, the record will be altered. If the tag is present but force==FALSE
,
the tag will be altered via make.unique
and a new record will be created.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.