sourceEnv: source the most recent file located in a given directory...

View source: R/sourceEnv.R

sourceEnvR Documentation

source the most recent file located in a given directory path. this function is meant to be used internally within the loadRedcap function.

Description

source the most recent file located in a given directory path. this function is meant to be used internally within the loadRedcap function.

Usage

sourceEnv(path, env)

Arguments

path

a given path, or vector of paths, conatining a specific file or files to source

env

a new environment to source the file into. this is internally created in loadRedcap with new.env()


kwdoyle/kevtools documentation built on Jan. 4, 2023, 10:32 p.m.