Learn R Programming

dataquieR (version 2.0.1)

util_create_page_file: Create an HTML file for the dq_report2

Description

Create an HTML file for the dq_report2

Usage

util_create_page_file(
  page_nr,
  pages,
  rendered_pages,
  dir,
  template_file,
  report,
  logo,
  loading,
  packageName,
  deps,
  progress_msg,
  progress
)

Value

invisible(file_name)

Arguments

page_nr

the number of the page being created

pages

list with all page-contents named by their desired file names

rendered_pages

list with all rendered (htmltools::renderTags) page-contents named by their desired file names

dir

target directory

template_file

the report template file to use

report

the output of dq_report2

logo

logo PNG file

loading

loading animation div

packageName

the name of the current package

deps

dependencies, as pre-processed by htmltools::copyDependencyToDir and htmltools::renderDependencies

progress_msg

closure to call with progress information

progress

closure to call with progress information