Skip to contents

Get Names of Packages Used in R-Scripts

Usage

get_names_of_used_packages(root_dir, pattern = "[.][rR](md)?$")

Arguments

root_dir

directory in which to look recursively for R-scripts

pattern

regular expression matching the names of the files to be considered