cleanup_source_figures_post_render: Clean up source figures after report generation

View source: R/utils-zip-cleanup.R

cleanup_source_figures_post_renderR Documentation

Clean up source figures after report generation

Description

Removes the entire source/figures directory after the main HTML report has been generated since all images are now embedded in the HTML as data URLs.

Usage

cleanup_source_figures_post_render(
  report_path,
  eye_suffix = NULL,
  verbose = FALSE
)

Arguments

report_path

Path to the report directory

eye_suffix

Optional eye suffix for binocular data (unused but kept for compatibility)

verbose

Whether to print verbose output

Value

Invisibly returns TRUE if cleanup was successful, FALSE otherwise


eyeris documentation built on June 19, 2026, 9:08 a.m.