sym2function: Convert the occurrence of a symbol in an R document to a...

View source: R/feather_save.R

sym2functionR Documentation

Convert the occurrence of a symbol in an R document to a function call by the same name

Description

Useful to replace calls to an object by symbol name with an accessor function or reactive with the same name

Usage

sym2function(x, file)

Arguments

x

(character) All symbols to change

file

(character) Path to file in which to change them

Value

(character) vector of text in the file with the new function calls


COHHIO/RminorElevated documentation built on Nov. 14, 2024, 6:28 p.m.