Report possible optimizations in folder containing `.R` files.

generate_folder_opt_report(
  folder,
  optimizers = all_optimizers,
  pattern = "\\.R$",
  recursive = TRUE
)

Arguments

folder

Path to a directory with files to optimize.

optimizers

A named list of optimizer functions.

pattern

An optional regular expression. Only file names which match the regular expression will be optimized.

recursive

A logical value indicating whether or not files in subdirectories of `folder` should be optimized as well.