expand_string: Reads strings and expands sections wrapped in dotted...

View source: R/utils.R

expand_stringR Documentation

Reads strings and expands sections wrapped in dotted parentheses

Description

This is a kind of inverse of bquote

Usage

expand_string(s, level = 3)

Arguments

s

a string

level

integer sets the parent frame level for evaluation

Examples

a <- runif(10)
 expand_string("The r code is .(a)")

rOpenHealth/rEHR documentation built on Sept. 25, 2024, 5:32 p.m.