Fix unused label warnings from gfortran if possible

fix_unused_labels(fortran_lines, verbose = FALSE)

Arguments

verbose

a flag for verbose output

mortran_lines

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

Value

fortran lines as a character vector

Examples

if (FALSE) {
fix_unused_labels(readLines("foo.f"))
}