Creates a text file with arbitrary contents

step_write_text_file(..., path)

Arguments

...

[character]
Contents of the text file.

path

[string]
Path to the new text file.

See also

Examples

#> Creating a clean tic stage configuration
#> See `?tic::dsl_get` for details
get_stage("script") %>% add_step(step_write_text_file("Hi!", path = "hello.txt")) dsl_get()
#>
#> ── tic configuration ───────────────────────────────────────────────────────────
#> ── script ───────────────────────────────────────────────────────────── stage ── #> ▶ step_write_text_file("Hi!", path = "hello.txt")