Commits on Jul 9, 2012
  1. make release: Don't edit temporary merge message

    Sharpie committed Jul 9, 2012
    This message gets overwritten later with a proper commit message.
  2. Pass lib.loc to getTikzDeviceVersion

    Sharpie committed Jul 9, 2012
    When packages are loaded from a directory not on the R library path, such as by
    using `library(..., lib.loc = '/some/directory')`, then functions like
    `system.file` don't work correctly unless `lib.loc` is passed.
    This fixes a CRAN warning in R-devel.
  3. make vignette: Compact PDF files after creation

    Sharpie committed Jul 9, 2012
    Requires qpdf and ghostscript to be installed. This cuts the size of the
    vignette PDF by ~50% and prevents some CRAN warnings.
  4. make check: Run R CMD check with --as-cran

    Sharpie committed Jul 9, 2012
    Adding the `--as-cran` flag enables additional checks that get run on the CRAN
Commits on Apr 20, 2012
Commits on Feb 5, 2012
  1. Fix multiple function documentation in tikzAnnotate.R

    Sharpie committed Feb 5, 2012
    Proper roxygen2 way to mark multiple functions for consolidation in the same
    `.Rd` file is to use the `@rdname` directive.
  2. Merge docs for getLatexStrWidth and getLatexCharMetrics

    Sharpie committed Feb 5, 2012
    Both functions do pretty much the same thing---no sense in maintaining two
    manpages that are 90% identical.
  3. Pass package arguments from C functions

    Sharpie committed Feb 4, 2012
    Pass `documentDeclaration` and `packages` when `getLatexStrWidth` and
    `getLatexCharMetrics` are called from the C level. This ensures these arguments
    are honored if passed to `tikz` when the device is created.
    Fixes #59.
  4. Add package arguments to metrics functions

    Sharpie committed Feb 4, 2012
    `getLatexStrWdith` and `getLatexCharMetrics` now take `documentDeclaration` and
    `packages` as parameters.
Commits on Jan 27, 2012
  1. Set default CRAN mirror for make deps task

    Sharpie committed Jan 27, 2012
    We need a mirror set or R will simply roll over and die with an error.
  2. Add unit and grid.draw to grid imports

    Sharpie committed Jan 27, 2012
    This satisfies a note from `R CMD CHECK` about global functions with no visible
  3. Merge branch 'bugfix/filehash-interrupts'

    Sharpie committed Jan 27, 2012
    Fixes #55.
  4. Protect calls to Filehash from user interrupts

    Sharpie committed Jan 23, 2012
    Calls to Filehash have been protected using `evalWithoutInterruptions`. This
    should prevent rogue lockfiles and corrupted databases.
    Calls which needed to be protected:
      - dbExists
      - dbFetch
      - dbInsert
    These all invoke the acquisition of a lockfile. `dbExists` does this indirectly by
    calling `dbList` which actually acquires the lockfile.
  5. Add new internal function evalWithoutInterrupts

    Sharpie committed Jan 23, 2012
    This function will allow R expressions, such as calls to write objects to
    filehash databases, to be evaluated inside a context where they are protected
    from user interrupts.
  6. Squelch normalizePath 'nonexistent directory' warnings

    Sharpie committed Jan 27, 2012
    After R 2.13.0, the `normalizePath` function throws annoying warnings whenever
    it is used to expand a path to a directory that does not exist yet.
  7. Disable raster reflection test on R 2.12.x

    Sharpie committed Jan 27, 2012
    2.12.x does not have the `useRaster` argument to `image` that is used by this
    Interesting aside: This test causes pdfTeX to run out of memory and may be a
    good candidate for optimization.
  8. Update testsuite for ggplot 0.9.0

    Sharpie committed Jan 27, 2012
    Version 0.9 of ggplot2 contains some dramatic changes compared to previous
    versions. This requires some version-specific testing code.
    After loading ggplot2, the existance of the `scale_y_probit` function is tested
    to determine which version we are using as this function was pruned from
    ggplot2 in version 0.9.
  9. Port testing framework to testthat 0.6

    Sharpie committed Jan 26, 2012
    Straight port of test drivers which using the Mutatr classes of testhat 0.5 and
    below to reference classes. Reference classes were introduced in R 2.12.0 and
    are used by testthat 0.6.
    Fixes #56.
Commits on Jan 12, 2012
  1. New test for raster graphics with reflected axes

    Sharpie committed Jan 12, 2012
    This tests the behavior reported in issue #53. The behavior of the R graphics
    engine in this situation may change in future versions of R as Paul Murrell
    indicated reflected axes are a situation he had not thought about. This test
    should detect any changes that affect the tikzDevice.
  2. Don't reset par after creating raster output

    Sharpie committed Jan 12, 2012
    The call to `on.exit(par())` appears to be causing the problems mentioned in
    issue #54. The call shouldn't be necessary, as any changes to par should
    disappear when the PNG device is closed. Additionally, the graphics engine
    restores parameters at the end of a raster output call.
    Fixes #54.
Commits on Jan 10, 2012
  1. Allow TikZ_Raster to handle negative width or height

    Sharpie committed Jan 8, 2012
    The interpretation of a raster image with a negative width or height is
    ambiguous. This patch causes `tikz` to mimic the behavior of `pdf` where a
    negative width or height will cause the raster to be flipped along that
    Fixes #53.
Commits on Jan 8, 2012
  1. Make tikzFooter empty by default

    Sharpie committed Jan 8, 2012
    Adding `\end{document}` statements is taken care of by the C code and allowing
    this to be overriden would be a bit messy.
Commits on Jan 2, 2012
  1. Print footer when closing standAlone plots

    Sharpie committed Jan 2, 2012
    Fixes #52.
  2. Bump required R version to 2.12.0 or newer

    Sharpie committed Dec 27, 2011
    Removes the need for some preprocessor statements that protect the Polypath
    function. And frankly, I'm not going to bother testing more than three versions
    of R.
Commits on Dec 27, 2011
  1. Re-work imports in cacheMetrics.R

    Sharpie committed Dec 27, 2011
    Instead of importing the whole filehash package, each function in
    `cacheMetrics.R` is now tagged with an `@importFrom` directive that specifies
    the required filehash functions.
  2. Replace evalq by directenvironment access in cacheMetrics.R

    Sharpie committed Dec 27, 2011
    Using direct environment access to manipulate the metrics dictionary in
    `.tikzInternal` rather than `evalq` removes the need for some crufty code.
    Also, `R CMD check` no longer prints a NOTE concerning no visible binding for a
    `dictionary` varible.
    `R CMD check` is now completely clean for the first time in years!
  3. Update release task in makefile

    Sharpie committed Dec 27, 2011
    Using `make release` should actually do something useful now. Note that it
    probably won't work on Windows.
  4. Merge branch 'feature/luatex'

    Sharpie committed Dec 27, 2011
    Add support for LuaLaTeX. The LuaTeX engine is still considered "beta" but is
    very stable and should hit version 1.0 somewhere in 2012-13. Compared to XeTeX,
    LuaTeX has native support for UTF8 but better support for PDF output. This is
    because LuaTeX renders directly to PDF rather than routing DVI through
    `xdvipdfmx`. As a consequence, XeTeX cannot produce TikZ transparency or path
    patterns but LuaTeX and pdfTeX can.
    Fixes #28.
  5. Add LuaLaTeX to the test suite

    Sharpie committed Dec 27, 2011
    Not much of a test---just copied the XeTeX test for UTF8 characters. However,
    the testsuite has been generalized such that it is easier to switch between
    pdfTeX, XeTeX and LuaTeX.
  6. Add LuaTeX to package documentation

    Sharpie committed Dec 27, 2011
    Add notes concerning LuaTeX and UTF8 to the top-level manpage.
  7. Add support for LuaLaTeX at the R level

    Sharpie committed Dec 25, 2011
    Added package options and support for using `luatex` as an engine.
  8. Add support for LuaTeX at the C level

    Sharpie committed Apr 20, 2011
    LuaTeX is now a part of the tikz_engine enumeration and is represented in all
    applicable switch statements. Support still needs to be added at the R level.
  9. Merge branch 'maintenance/refactor-onLoad'

    Sharpie committed Dec 27, 2011
    Re-worked and generalized the machinery that locates TeX compliers.
    Closes #43.
  10. Add tikzCompilerInfo function

    Sharpie committed Dec 26, 2011
    This function reports information concerning the compilers used by the