Returns a tibble with one row per function/object in the string, file, or package.

parse_text(text, filename = NULL)

parse_file(file)

parse_package(path = ".")

Arguments

text

The text to parse as string.

filename

The file name to attach to the parsed text.

file

The file to parse, must be UTF-8 encoded.

path

The package to parse, must be UTF-8 encoded.