Skip to content

Releases: daqana/tikzDevice

v0.12.6

29 Nov 21:38
v0.12.6
8396e30
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.5...v0.12.6

v0.12.5

18 Aug 08:22
v0.12.5
0ffe770
Compare
Choose a tag to compare
  • remove float.sty from the vignette to remove WARNING on CRAN (#223 fixing #222)

v0.12.4

10 Feb 08:40
v0.12.4
8bb2626
Compare
Choose a tag to compare

Bug fixes

  • replace sprintf with snprintf to remove WARNING on CRAN (#219 fixing #218)

  • current working directory is added to TEXINPUTS (#203 fixing #197 and #198)

  • make sure that tikzInfo->outColorFileName is always initialized (Dean Scarff
    in #200 fixing #199)

  • Finally merged #206 from Paul Murrell to make tikzDevice compatible with the
    graphics engine in R >= 4.1

v0.12.3

08 Aug 12:05
Compare
Choose a tag to compare

Bug fixes

  • tikzDevice correctly translates the lmitre = n parameter of the plot()
    function now (#178)

  • tikz() now accepts both file and filename as named arguments to fix
    ggsave issue that occurred with ggplot2 v3.0.0 (#181)

  • Use temporary workdir due to problems with longer user names on Windows (#192)

Documentation

  • Need double escapes in help page (#193)
  • Add syntax highlighting to README (#194)

Internal

  • Switch to revdepcheck for checking revdeps
  • Update maitainer email address
  • Use three digit version numbering

v0.12

28 Jun 10:41
Compare
Choose a tag to compare

Contributors

  • New package maintainer: Ralf Stubner.

Internal

  • add missing Suggests: to fix WARNING on R-devel
  • Separate Rf_eval and Rf_lang1 cals to fix "Additional issues" from rchk.
  • Use codecov instead of coverall for test coverage (not fully working yet)

tikzDevice 0.11

24 Mar 11:39
Compare
Choose a tag to compare

Bug fixes

  • Fix potential protection issues (#161).
  • Zero-length strings are not treated as multibyte character strings anymore.
  • Registering native methods to fix R CMD check warnings.
  • Updating the filehash package no longer causes the tikzDevice package to fail (#168).
  • Remove probably harmless extra space from text being measured.
  • Don't overwrite string's encoding in anyMultibyteUTF8Characters() (#158, @jszhao).
  • Enforce the encoding of temporary TeX file to UTF-8 (#159, @jszhao).
  • Don't call library(grid) from package code anymore.
  • Code from manual now contains simple apostrophes to allow copy-paste (#139).

Features

  • The new tikzTest() function (via getLatexStrWidth(diagnose = TRUE)) now writes a complete LaTeX document, which allows e.g. MikTeX to install missing LaTeX packages (#142, #149).
  • If measurement fails, the .tex and .log files are not printed anymore,
    instead the location of these files is shown.
  • Support LuaLaTeX > 0.85 by loading the luatex85 package if it exists and avoiding loading xunicode (#150).
  • Temporary .tex and .log files are created in a separate directory for each run.

Internal

  • Consistent code style with the help of the styler package.
  • load_all() works now.

v0.10-1

10 Feb 12:20
Compare
Choose a tag to compare

Internal

  • Use CDR(CDDR()) instead of CDDDR(), the latter is available only in R 3.2.0 (#136).

v0.10

06 Feb 13:50
Compare
Choose a tag to compare

Features

  • Use png::writePNG() to output raster images to avoid reentrancy issues with capturing and playback and to reduce size of raster images. The tikzRasterResolution option is now obsolete (#132).

Bug Fixes

  • The setting sanitize = TRUE works even if the tikzDevice package is not attached to the search path (#129).

Internal

  • Update ggplot2 results to account for minor differences due to the package's update (#131).
  • Add test for combined rotation and reflection of raster images.
  • Add tracing code to the beginning of almost every C function.

v0.9

18 Nov 08:38
Compare
Choose a tag to compare

Features

  • PNG images now use png(type = "cairo") on all platforms (#121)
  • New argument verbose to tikz() function (#117, #124)

Bug Fixes

  • Fix segfault when no file extension is provided (#101)
  • Fix quoting issue with spaces in the tempdir name (#99, #105, #106)
  • Fix the error from getMetricsFromLatex() when options(OutDec) is set to "," (#57)
  • Allow loading package even if LaTeX is not available, with a warning instead of a fatal error (#112, 125)
  • Bump dependency for filehash (#109)

Internal

  • R compatibility update: Explicit imports from recommended packages (#116)
  • Use crayon for coloring test output (#112)

v0.8

07 Jan 09:46
Compare
Choose a tag to compare

Compatibility

This release doesn't work on OS X and Solaris. This will be resolved soon.

Contributors

  • Thanks to Greg Jefferis, Bill Venables, Sam Mason, Gvozden Neskovic,
    Martin Bergner and Casper Ti. Vector for contributing to this release.

Features

  • Add parameter timestamp to tikz to make the output of the timestamp optional (#28,
    #73, thanks Martin Bergner).
  • Add parameter lwdUnit to tikz to specify the physical width of a line
    (in points) that is 1 unit wide in R. By default, the value of option
    tikzLwdUnit is used; this option has a value of 0.4 at startup (#68,
    thanks Casper Ti. Vector).
  • Optionally use symbolic colors defined in a single external file instead of
    hard-coded colors defined in-place. New parameters symbolicColors,
    colorFileName and maxSymbolicColors; new options tikzSymbolicColors
    and tikzMaxSymbolicColors. The external file is only created if requested;
    in this case, symbolic color names are used instead of fillColor and
    drawColor (#70, thanks Martin Bergner).

Bug Fixes

  • Ignore fill color for lines to remove thin line (1 pixel wide) that was shown
    with dashed or dotted lines on some viewers (#63, thanks Martin Bergner).
  • More robust handling of metrics dictionary. Changes to the
    tikzMetricsDictionary option are recognized even if a metrics dictionary
    already has been initialized, a message is printed the first time a dictionary
    is used (in addition to the message that is printed when the dictionary is
    created). A missing dictionary file is recreated (#21).
  • Performance improvements with zero-width strings (#66, thanks Gvozden Neskovic)
  • Add parameter checkstate to allow adding annotations to a new plot (#52,
    thanks Sam Mason)
  • Allow raster images to be output without resampling by setting
    options(tikzRasterResolution = NA) (#54, thanks Sam Mason)
  • In console mode, print a \relax statement after the comment to allow using
    tikzDevice in a Sweave code chunk with results=tex, as advertised in the
    vignette. (The default is strip.white=TRUE which makes the following
    \begin{tikzpicture} appear on the same line as the encoding comment in the
    resulting .tex file.) (#47, thanks Bill Venables)

Vignette

  • Use knitr as vignette builder (#37).
  • Fixed typos (#45, thanks Greg Jefferis).
  • Vignette now also compiles if the zi4 TeX package is installed instead of
    inconsolata. This should fix the CRAN notes and warnings on Windows.
  • Loading babel TeX package to avoid printing tilde in references (#49).

Internal

  • Tests perform strict image comparison (#18).
  • Testing now also works in RStudio.