View source: R/add_hash_to_file.R
add_hash_to_file | R Documentation |
Create a string of the filename with its hash as an attribute to allow change detection in drake
add_hash_to_file(filename)
filename |
The filename or vector of filenames to generate a hash for |
'filename' with an attribute of 'hash' added.
## Not run:
my_plan <-
drake_plan(
big_filename=
target(
command=add_hash_to_file("a/file.xpt"),
trigger=trigger(condition=TRUE)
)
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.