strip_srcrefs: Strip source references from objects

View source: R/strip_srcrefs.R

strip_srcrefsR Documentation

Strip source references from objects

Description

Source references can make objects unexpectedly large and are undesireable in many situations. As renv installs packages with the --with-keep.source option, we sometimes need to remove source references from objects. Methods should remove source references from the input, but should otherwise leave the input unchanged.

Usage

strip_srcrefs(x, ...)

Arguments

x

(any)
The object to strip of source references.

...

(any)
Additional arguments to the method.


mlr-org/mlr3misc documentation built on April 28, 2024, 11 p.m.