tidyproject: Project and code management

Description Strategy Options Examples

Description

tidyproject is designed to manage tidy project directories and facilitate reproducibility and reuse of code

Strategy

Options

scripts.dir = names of the 'scripts' directory in the project

models.dir = names of the 'models' directory in the project

git.exists = TRUE if git is installed (only works on unix currently)

code_library_path = character vector. paths of directories containing code files

To modify these options use the options() interface. To modify these values permanently set options() in ~/.Rprofile or R_HOME/etc/Rprofile.site

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
make_project('~/AZDXXXX/PKAE1')         ## creates new_project
code_library()                          ## display summary of code_library
preview('template1.R')                  ## preview file in code_library
copy_script('template1.R')              ## copy_script from code_library to project

new_script('test.R')                    ## Creates empty test.R
copy_script('output.data.R')            ## copies from code_library
copy_script('../pathto/script.R')       ## copies from other location

## End(Not run)

tsahota/TidyProject documentation built on April 19, 2021, 9:14 p.m.