daqana / tikzDevice

A R package for producing graphics output as PGF/TikZ code for use in TeX documents.
https://daqana.github.io/tikzDevice
132 stars 26 forks source link

Redact creation date from file #174

Closed ThomDietrich closed 6 years ago

ThomDietrich commented 6 years ago

Hey guys, sorry if I didn't find the existing setting for this request.

Every file generated with tikzDevice starts with the following:

% Created by tikzDevice version 0.10.1 on 2018-02-18 18:55:42
% !TEX encoding = UTF-8 Unicode
\begin{tikzpicture}[x=1pt,y=1pt]
...

... or similar. Because I'm tracking my project with git, I want to see changes to a file only if real content changed. Right now every time a file is regenerated, the timestamp changes.

Is an option available to suppress the timestamp insertion during generation?

krlmlr commented 6 years ago

Running tikz(..., timestamp = FALSE) will omit the timestamp.

ThomDietrich commented 6 years ago

And this is in fact documented. Thank you very much!