pdf_needs_rebuild | R Documentation |
pdf_needs_rebuild
returns a vector of logicals indicating which files
need to be rebuilt, based on whether the file has changed.
pdf_needs_rebuild(
current_digest,
current_dest_digest,
old_digest,
old_dest_digest
)
current_digest |
A character vector containing digests of the
current source files ( |
current_dest_digest |
A character vector containing digests of the
current destination (output) files ( |
old_digest |
The stored digest for the source file from the last time
the site was built. |
old_dest_digest |
A character vector containing stored digests for the
destination files from the last time the site was built.
|
This function compares digests of current files to stored digests in order to tell whether the source file needs to be rebuilt. If the digests are not equal, then the file has changed. If a digest is missing, then the source file is new or the output file has been deleted and in either case, the source file needs to be rebuilt.
A vector of logicals indicating whether the destination (output) files are out of date relative to the source files.
If a destination file is missing or if any of the digests don't match, then the file needs to be rebuilt.
blogdownDigest::digests.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.