copy_script: Copy script from the BB code library to project directory

Description Usage Arguments

Description

Will search code library and copy script and dependencies into scripts directory. Script will also be stamped with source location, time, user information and the commit hash at the current repository head

Usage

1
2
copy_script(from, to, stamp_copy = TRUE, overwrite = FALSE,
  comment_char = "#", proj_path = ".")

Arguments

from

character. file name or path of file to copy

to

character. file name file to create

stamp_copy

logical. Create a commented timestamp at beginning of file

overwrite

logical. Overwrite 'to' file if exists?

comment_char

character. Comment character

proj_path

character. Default = current working directory. path to tidyproject


rgray1/bbcodelibrary documentation built on May 29, 2019, 8:07 a.m.