styler (version 1.1.0)

transform_utf8: Apply a function to the contents of a file

Description

Transforms a file with a function.

Usage

transform_utf8(path, fun, write_back = TRUE)

Arguments

path

A vector with file paths to transform.

fun

A function that returns a character vector.

write_back

Whether or not the results of the transformation should be written back to the file.