pipe_value: Find last non-comment line, add a |> to the end, then add...

View source: R/utils-templates.R

pipe_valueR Documentation

Find last non-comment line, add a ⁠|>⁠ to the end, then add another line.

Description

This function is adapted from the function of the same name in the usemodels package.

Usage

pipe_value(base, value, expr_width = 80)

Yu-Group/simChef documentation built on Jan. 11, 2025, 1:25 a.m.