source_all: source_all

View source: R/source_all.R

source_allR Documentation

source_all

Description

Sources all the .R scripts in a folder. Important to ensure the .R files in a folder are all functions - not running scripts.

Usage

source_all(Loc)

Arguments

Loc

Provided location to source all functions from On a Windows PC, this could e.g. be: 'C:/Temp_Folder/code' Or if called from within a project, simply source_all("code")

Value

Sources all the .R scripts in a given folder.

Examples

source_all("C:/Temp/FinMetrics/Practical1/code")
source_all("code")

Nicktz/fmxdat documentation built on Aug. 25, 2024, 10:18 a.m.