Returns the number of lines in a file using the [`readLines()`] function

file_length(path)

Arguments

path

character; path to file

Value

numeric; number of lines