camr_source_scripts: Source in Multiple R Scripts in a Folder

camr_source_scriptsR Documentation

Source in Multiple R Scripts in a Folder

Description

A convenience function that loops through and reads in code in .R files stored in a folder located in the current working directory.

Usage

camr_source_scripts(files_to_include = NULL, path = "R")

Arguments

files_to_include

A vector of either...

  • Numeric indices denoting which files to include;

  • A character string matching the initial set of letters across all relevant files (e.g., if all scripts of interest start with the letter 'S');

  • A character vector with the full file names for the files to include.

path

The folder name with the scripts to source.

Author(s)

Kevin Potter


rettopnivek/camrprojects documentation built on March 26, 2024, 9:17 a.m.