subset_relevant_code_snippet_for_report: subset lines of R code (provided as strings) from the last...

View source: R/util_generic.R

subset_relevant_code_snippet_for_reportR Documentation

subset lines of R code (provided as strings) from the last "import_dataset" function on

Description

in case users run the pipeline a few times consecutively (eg; testing various parameters) without resetting R history, we only want to keep the relevant portion of the code. simple/transparent way is to show everything from latest dataset import function or source() on

Usage

subset_relevant_code_snippet_for_report(rcode_lines)

Arguments

rcode_lines

R code as an array of characters (strings)


ftwkoopmans/msdap documentation built on March 5, 2025, 12:15 a.m.