get_objects_in_strings: Get objects used in 'glue' string templates

View source: R/get_objects_in_strings.R

get_objects_in_stringsR Documentation

Get objects used in glue string templates

Description

In glue, all text between ⁠{⁠ and ⁠}⁠ is considered code. Literal braces are defined as ⁠{{⁠ and ⁠}}⁠. Text between double braces are not interpolated.

Usage

get_objects_in_strings(xml)

Arguments

xml

An xml node list.

Value

A character vector of object and function names found inside glue string templates.


box.linters documentation built on Sept. 11, 2024, 8:20 p.m.