Learn R Programming

adapr (version 2.0.0)

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

Description

Writes dependency data to file in "Dependency" directory

Usage

finalize_dependency(RMD = TRUE, write = TRUE)

Arguments

RMD

Logical denoting whether the finalizing occurs in markdown vs R script

write

Logical indicated to write the dependency object

Value

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.

Examples

Run this code
# NOT RUN {
#Executed only at the end of adapr R script
#finalize_dependency() 
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab