Skip to contents

Sources all scripts in a specified directory and optionally prints paths.

Usage

source_R(path = "R", print.names = TRUE)

Arguments

path

Path of directory; default is /R.

print.names

Print path and name of sourced scripts. Default TRUE.

Value

Scripts are sourced to local environment. NULL returned.

Examples

if (FALSE) { # \dontrun{
  source_R("/Users/frankenstein/project/R")
} # }