Skip to content

Instantly share code, notes, and snippets.

@jhofman
jhofman / compare_figure_md5sums.R
Created February 14, 2019 19:02
minimal example to show that md5sums of two files containing the same figure are different when saved as pdfs but not pngs due to the "created at" timestamp embedded in the pdf metadata
#
# file: compare_figure_md5sums.R
#
# description: minimal example to show that md5sums of two files
# containing the same figure are different when saved as pdfs but not
# pngs due to the "created at" timestamp embedded in the pdf metadata
#
# usage: Rscript compare_figure_md5sums.R
#
# requirements: tidyverse