report_about_r_scripts: Create a HTML Report About R Scripts

View source: R/report_about_scripts.R

report_about_r_scriptsR Documentation

Create a HTML Report About R Scripts

Description

Create a HTML Report about each R script below a root directory. The report will contain an overview plot showing the number or rows for each script. In addition, one plot is generated per script, showing for each function defined in the script, the number of expressions contained in the function.

Usage

report_about_r_scripts(
  root,
  scripts = dir(root, "\\.R$", ignore.case = TRUE, recursive = TRUE),
  show = TRUE
)

Arguments

root

path to directory from which to start looking for R scripts

scripts

optional. Paths to R scripts, relative to the path given in root

show

if TRUE the created HTML file is opened in your default browser

Value

path to the created HTML file, invisibly


KWB-R/kwb.fakin documentation built on June 14, 2022, 2 p.m.