copy_script: Copy script 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 and user information

Usage

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

Arguments

from

character. file name or path of file to copy

to

character. file name file to create

dependencies

logical. Default = TRUE. will script copy dependencies

stamp_copy

logical. Create a commented timestamp at beginning of file

overwrite

logical. Overwrite 'to' file if exists?

comment_char

character. Comment character

alt_paths

character vector. paths to other candidate files to search

proj_path

character. Default = current working directory. path to MSDproject


Ollegst/MSDproject documentation built on May 23, 2019, 9:37 a.m.