Skip to contents

Find Duplicated Function Names

Usage

find_function_name_duplicates(
  rscripts = dir("./R", pattern = "\\.R$", full.names = TRUE)
)

Arguments

rscripts

full paths to R scripts. By default, the paths to all files with file name extension ".R" in the "R" subfolder of the current directory (if it exists) are used here

Value

vector of character with the names of functions that were defined at least twice