update_r_script_title_box: Update the title box's "date last modified" field.

Description Usage Arguments Value

View source: R/update_r_script_title_box.R

Description

Useful function to automatically update the last modified field when changes are made to a script. This is a simple implementation of version control, and a modern system such as 'git' would be recommended instead.

Usage

1

Arguments

file

Path to .R script file to be updated.

new_date

The date to be given as the last modification date. Default is today.

Value

If file runs cleanly, then output is TRUE.


danwkenn/ConsulR documentation built on Dec. 19, 2021, 8:11 p.m.