finalize_dependency: Writes dependency data to file in "Dependency" directory

Description Usage Arguments Details Value Examples

View source: R/finalize_dependency.R

Description

Writes dependency data to file in "Dependency" directory

Usage

1

Arguments

RMD

Logical denoting whether the finalizing occurs in markdown vs R script

write

Logical indicated to write the dependency object

Details

Operates git tracking of program and dependency file.

Strips project directory out of dependency file. Passes workspace to R markdown file and render. Stores file modification and hash for all dependencies. Writes dependency information to ‘Dependency’ directory. Adds dependency file and Session information to Git.

Value

dependency.object

Examples

1
2
3
4
5
## Not run: 
#Executed only at the end of adapr R script
#finalize_dependency() 

## End(Not run) 

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