projectInit sources the 00-init.R or projectInit.R script for the project. You pass a complete folder or a relative path.

projectInit(projectName, codeDir = NULL, procDir = NULL,
  rawDir = NULL, webDir = NULL, outDir = NULL, resourcesDir = NULL,
  outputSubdir = NULL, scriptSubdir = "src", pepConfig = NULL,
  subproject = NULL)

Arguments

projectName

A string identifying your project.

codeDir

Path to the folder of your code repository root.

procDir

Path to folder containing processed project data.

rawDir

Path to folder containing raw project data.

webDir

Path to folder for web output.

outDir

Path to a folder for output

resourcesDir

Location of general-purpose resourcesRoot; default is to use system environment variable RESOURCES.

outputSubdir

Location for project-specific output, resolved by dirOut and stored as option ROUT.SUBDIR.

scriptSubdir

Name for the folder within codeRoot that stores the scripts for this project.

pepConfig

Use to specify the (relative) location of your actual PEP config file.

subproject

name of the subproject to be activated

References

http://github.com/databio/projectInit