readReport: Read in an Existing Report

Description Usage Arguments Value Note Author(s) See Also

View source: R/readReport.R

Description

This function is used to read an existing Report (previously created using ReportingTools) into R so that it can modified or computed on.

Usage

1
2
readReport(reportFile, handlers = fileHandlers(reportFile), 
  .toHTML = NULL, .toDF = NULL, .modifyDF = NULL, title)

Arguments

reportFile

A character value pointing to the HTML file containing an existing Report.

handlers

The ReportHandlers object(s) to attach to the resulting HTMLReportRef object.

.toHTML

The list of .toHTML overrides to attach to the HTMLReportRef object

.toDF

The list of .toDF overrides to attach to the HTMLReportRef object

.modifyDF

The list of .modifyDF overrides to attach to the HTMLReportRef object

title

Title to assign to the new HTMLReportRef object. If not specified this value is inferred from the file.

Value

An HTMLReportRef object representing the Report.

Note

Attempting to write the modified report to a new location without updating any report elements involving figures will result in broken image links because image locations are assumed to be relative to the location of the HTML file.

Author(s)

Gabriel Becker

See Also

HTMLReportRef


ReportingTools documentation built on March 10, 2021, 2 a.m.