Detect if there are long lines in mortran or fortran sections

detect_long_lines(mortran_lines)

Arguments

mortran_lines

the mortran file lines resulting from a base::readLines(), say.

Value

a possibly empty data frame of the approximate line number and the offending line if any

Examples

if (FALSE) {
check_long_lines(readLines("./pcLasso.m"))
}