remove_source: Remove source code from functions.

View source: R/utils.R

remove_sourceR Documentation

Remove source code from functions.

Description

Remove the source code from functions so that caching works as expected. This function is used internally to remove the source code from functions in the .dgp_params, .method_params, and vary_across components.

Usage

remove_source(x, cols = NULL)

Arguments

x

A tibble.

cols

Character vector of column names to potentially remove source code from.

Value

A tibble with the source code removed from functions in the specified columns.


Yu-Group/simChef documentation built on Jan. 11, 2025, 1:25 a.m.