Description Usage Arguments Value Examples
Compare two inventory objects
1 2 3 4 5 6 7 | compare_inventory(
inventory1,
inventory2,
object_types = "exported",
report_type = c("table", "summary", "objects"),
summary_file = ""
)
|
inventory1 |
An inventory object, a data.frame from the 'take_inventory' function |
inventory2 |
A second inventory object, a data.frame from the 'take_inventory' function |
object_types |
A vector of object types to compare. Default is "exported" objects only, but can be any of c("exported", "non-exported", "data"). |
report_type |
A vector of reporting type preferences. "table" returns a data.frame with one row for each object that differs between the two inventories. "summary" returns concatenated summaries of identified differences. "objects" returns a data.frame with one row for each object which differs between the two inventories, but also includes the objects themselves as well as checksums. |
summary_file |
A file to store inventory difference summary information. Default is "", which will return the summary in the console. |
a list with element 'table'. A text summary will be saved to the file specified in 'summary_file', or printed in the console.
1 | ## Not run: compare_inventory(inventory1, inventory2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.