Skip to contents

This function extracts reproducibility data embedded in a file by ggsaveR::ggsave(). It is optimized to read tEXt chunks from PNG files natively.

Usage

read_ggsaveR_data(path)

Arguments

path

The path to the file.

Value

A list containing the embedded R objects (e.g., 'plot_call', 'session_info'). Returns NULL if no ggsaveR data is found.