Learn R Programming

tinyProject (version 0.6.1)

prStart: Source start and tools scripts

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

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

Run this code
# NOT RUN {
projectPath <- file.path(tempdir(), "test")
prInit(projectPath)

prStart(projectPath)

# }

Run the code above in your browser using DataLab