script_paths: Get paths of R scripts

Description Usage Arguments

View source: R/script_paths.R

Description

Get the paths of all R scripts inside a directory.

Usage

1
2
script_paths(directory, recursive = TRUE, full.names = TRUE,
  ending = ".*[.](r|R|s|S|q)([.](lnk|LNK))*$")

Arguments

directory

A path to the directory containing the R scripts.

recursive

If TRUE, subdirectories are recursively searched for R scripts.

full.names

a logical value. If TRUE, the directory path is prepended to the file names to give a relative file path. If FALSE, the file names (rather than paths) are returned.


DavidBarke/QWUtils documentation built on Jan. 13, 2020, 11:52 a.m.