CAUTION: This functions output/results should be checked manually before committing the code, since it uses regular expression heuristically to parse code and cannot guarantee complete and correct code replacement
update_gitlabr_code(file, text = readLines(file), internal = FALSE)
file to read from/write to. Maybe NULL for input and return only
lines of code to convert
whether to also replace names of internal functions