Compile and compare a slide chunk
check_slides_single.Rd
Use check_slides_many()
to check many slides.
Usage
check_slides_single(
slide_file,
pre_clean = FALSE,
compare_slides = FALSE,
create_comparison_pdf = FALSE,
thresh_psnr = 40,
dpi_check = 50,
dpi_out = 100,
pixel_tol = 20,
overwrite = FALSE
)
Arguments
- slide_file
[character(1)]
Name of a (single) slide, with or without.tex
extension. See examples offind_slide_tex()
.- pre_clean
[FALSE]
: Passed tocompile_slide()
.- compare_slides
[FALSE]
IfTRUE
, runcompare_slide()
on the slide iff the compile check passed.- create_comparison_pdf, thresh_psnr, dpi_check, dpi_out, pixel_tol, overwrite
Passed to
compare_slide()
.
Value
A data.frame
with columns
tex
: Same asslide_file
argument.compile_check
:logical
indicating whethercompile_slide()
passedcompare_check
:logical
indicating whethercompare_slide()
passed (NA
ifcompare_slides = FALSE
orcompile_slide()
did not pass)compare_check_note
: Note fromcompare_slide()
indicating number and nature of differences.compare_check_raw
: More verbose form ofcompare_check_note
.compile_note
: If there are compilation errors, the error messages fromcompile_slide()
are included (see alsocheck_log()
).