Learn R Programming

workflowr (version 0.2.0)

decide_to_render: Decide with files to render and commit

Description

Recursively search the commit log until the R Markdown file or its corresponding HTML file is found. If the Rmd is found first, the HTML file needs to be re-rendered, added, and committed (return TRUE). If the HTML file is found first, then it is up-to-date (return FALSE).

Usage

decide_to_render(repo, log, rmd)

Arguments

See Also

obtain_files_in_commit, obtain_files_in_commit_root, commit_site