By default, wflow_update
is run in dry_run
mode so that no
unwanted changes are made. The log file contains the changes to each file,
represented with the syntax from the
Unix diff utility.
After reviewing the log file for the proposed changes, re-run the function
with dry_run = FALSE
to implement them.
Currently wflow_update
checks for the following items:
Updates the shared chunks in analysis/chunks.R
.
Updates each R Markdown file in analysis/
to use the shared
chunks. This is implemented with wflow_convert
.
Removes the "BuildType: Website" from the Rproj file. This re-builds
every R Markdown file everytime, so it is safer to always use
wflow_build
.