Skip to contents

This function locates all .R and .Rmd files that contain a text string.

Usage

find_files(text, path = here::here())

Arguments

text

A text string to search for.

path

The folder to search (searches recursively). Defaults to the project root.

Value

A vector of names of files that contain the string.