R/compare_plot_report_generic.R
get_plot_chunks.Rd
This function extracts the plot files from the directories given by the
arguments ps_right_dir
and ps_left_dir
. Based on the list
of plot files the R-code chunks that include the plots into the report
are generated and added to the result string.
get_plot_chunks(ps_right_dir, ps_left_dir, ps_diagram_na_path)
directory with plots that appear in the right-hand-side column of the report
directory with plots that appear in the left-hand-side column of the report
path to the missing-diagram replacement
s_code_chunk_result R-code chunks that include the plots into the report