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)

tinyProject documentation built on June 14, 2019, 5:04 p.m.