Utility function to remove lines from a source file
gp_remove_lines( path, pattern = " * geoplumber R package code.", lines_count = 1L )
path | path of file to change, used in readLines() |
---|---|
pattern | remove what, 1st is used. Unique is best. |
lines_count | 1 by default provide a number |
if (FALSE) { gp_remove_lines() }