locate_funcs: locate_funcs

View source: R/utils-file.R

locate_funcsR Documentation

locate_funcs

Description

locates the lines which define a function within a single file

Usage

locate_funcs(file)

Arguments

file

= a connection object or a character string path to a file.

Value

Returns a data frame with the following columns: func_num: The ID of the function - monotonic increasing from 1. func_start: The line number (within the file) of the function start. func_end: The line number of the function end.


assertHE documentation built on June 8, 2025, 10:08 a.m.