optimize_text {rco} | R Documentation |
Optimize text containing code.
Description
Performs the desired optimization strategies in the text. Carefully examine the results after running this function!
Usage
optimize_text(text, optimizers = all_optimizers, iterations = Inf)
Arguments
text |
A character vector with the code to optimize. |
optimizers |
A named list of optimizer functions. |
iterations |
Numeric indicating the number of times optimizers should pass. If there was no change after current pass, it will stop. |
[Package rco version 1.0.2 Index]