Vectorised version of source.

source_files(x, pattern = NULL, ...)

Arguments

x

character vector containing filenames

pattern

an optional regular expression. Only file names which match the regular expression will be returned.

...

extra arguments passed to source.