create_source_file_dir: Create source file directories

Description Usage Arguments Details Value Examples

View source: R/create_source_file_dir.R

Description

Create source file directories

Usage

1
2
3
4
5
create_source_file_dir(
  project.id0 = get("project.id"),
  source.file0 = get("source.file"),
  source.description = ""
)

Arguments

project.id0

project id name string

source.file0

filename of the source

source.description

character description of what the source file does

Details

Intializes git for the project, adds program git tracking, creates project library and initializes dependency tracking. Creates directories for Project and Results. Initialize the file tracking object source_info. Gathers file information on all project files.Initialize Git for project (if using Git). Adds dependencies files to Git Initialized archivist repo for script Run all R scripts in support_function directory Run all R scripts in script specific support_function/myRscript.R directory Create R markdown file with same file prefix (if not already done). Create publication file (if not already done).

Value

source_info list describing the project

Examples

1
2
3
4
## Not run: 
source_info <- create_source_file_dir("adaprHome","tree_controller.R")

## End(Not run) 

gelfondjal/adapr documentation built on Feb. 2, 2020, 1:32 a.m.