prStart: Source start and tools scripts

Description Usage Arguments Value Examples

Description

This function sources all scripts prefixed by tools or situated in a subdirectory called tools, then it sources the start.R script. It is automatically called when a project is opened.

Usage

1
prStart(dir = ".", trace = TRUE)

Arguments

dir

Path of the directory where the project is stored.

trace

Should the function print what it is doing ?

Value

TRUE if all scripts had been sourced without error and false otherwise.

Examples

1
2
3
4
projectPath <- file.path(tempdir(), "test")
prInit(projectPath)

prStart(projectPath)

FrancoisGuillem/project documentation built on May 6, 2019, 5:06 p.m.