R/str_replace_all_in_file.R
str_replace_all_in_file.Rd
Replace all occurences of a pattern in a file
str_replace_all_in_file(
file,
pattern,
replacement = "[...]",
only_comments = TRUE,
collapse = FALSE
)
NULL, the file is modified in place