zap_srcref {rlang}R Documentation

Zap source references

Description

There are a number of situations where R creates source references:

These source references take up space and might cause a number of issues. zap_srcref() recursively walks through expressions and functions to remove all source references.

Usage

zap_srcref(x)

Arguments

x

An R object. Functions and calls are walked recursively.


[Package rlang version 1.1.3 Index]