dot-cstr_wrap: Wrap argument code in function call

.cstr_wrapR Documentation

Wrap argument code in function call

Description

Exported for custom constructor design. Generally called through .cstr_apply().

Usage

.cstr_wrap(args, fun, new_line = FALSE)

Arguments

args

A character vector containing the code of arguments.

fun

A string. The name of the function to use in the function call. Use fun = "" to wrap in parentheses.

new_line

Boolean. Whether to insert a new line between "fun(" and the closing ")".

Value

A character vector.


constructive documentation built on April 3, 2025, 9:39 p.m.