initProject: initialize project

Description Usage Arguments Details Value Examples

View source: R/plant_tree.R

Description

initialize project

Usage

1
2
3
4
5
6
7
8
initProject(
  project.id,
  project.path = NA,
  publish.directory = NA,
  first.program = "read_data.R",
  project.libraryTF = FALSE,
  library.path = ""
)

Arguments

project.id

Project name, if missing then default

project.path

Project home directory, if missing then default

publish.directory

Project branch exchange directory

first.program

Name of first program in project (read_data.R default)

project.libraryTF

character string "packrat","TRUE","FALSE" for using packrat package or Logical to use a local (not default) library

library.path

Path to local (not default) library

Details

Sets up project for first time. Defaults to main library. If using a local library, then leaving library path equal to "" puts the library within the project folder.

Wrapper for plantTree

Value

logical for success or not

Examples

1
2
3
4
## Not run: 
initProject("adaprTest")

## End(Not run) 

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