simple_brew: Replace a line in a file with new lines

Description Usage Arguments Value

View source: R/utils.R

Description

This function is used to complete the templates provided by the package with the user provided informations

Usage

1
simple_brew(file_in, placeholder_line, replacement_lines, file_out = NULL)

Arguments

file_in

the file to read from

placeholder_line

the line to replace

replacement_lines

a character vector of lines to insert into the file

file_out

path to the new file

Value

path to the output file (invisibly)


AdrienLeGuillou/slurmworkflow documentation built on Jan. 13, 2022, 5:13 p.m.