| NEWS | R Documentation |
NEWS file for the gridGraphics package
Changes in version 0.5-1
Ensure use of Suggested packages is conditional (so
plotdiff()only runs if the Suggested packages are available).
Changes in version 0.5-0
-
grid.echo()now supportsstats::plot.hclust() Fix for
grid.echo.function()when start with no devices open (it was opening an extra device on exit).Ensure old
pdf(useDingbats=TRUE)behaviour for testing.
Changes in version 0.4-2
Protection against
NAlabels in text (so that they do not get echoed as "NA").NOTE that his will NOT be fixed in grid because some existing packages relies on that grid behaviour.
Protection against
NULLlabels in text (so that grid does not complain about them).Reported by Patrick Schratz.
Changes in version 0.4-1
Allow install on R below 3.6.0 (even if the echo results are not as good)
Changes in version 0.4-0
New function
echoGrob().Echoing
persp()now respectscex.axissetting (for size of tick labels).Fixup for axis() when scale is reversed.
Fixes for
C_axis()(andGMtext()) to usegraphics::grconvertX()(andgraphics::grconvertY) to calculate length of tick marks and placement of tick labels. This is to respond correctly topar()changes AFTERplot(), but beforeaxis()(either via explicitpar()calls, or implicitly when functions likedotchart()resetpar()internally).These changes make use of new
deviceLoc()function and updatedgrconvertX()andgrconvertY()functions in R 3.6.0.
Changes in version 0.3-1
Improved
currentPar()function so that it behaves more like the graphics engine'sProcessInlinePars(). The main point is that setting apar()parameter in a high-level function is allowed to specify multiple values for the setting (whereas setting viapar()itself only allows a single value per parameter setting).
Changes in version 0.3-0
Added magick and pdftools as (Suggests) dependencies, to provide better and more stable support for
plotdiff().Fixed clipping (of main contour region) bug for echoing
filled.contour().
Changes in version 0.2-2
Added
deviceargument togrid.echo()so that user can specify a “working device”. This is an in-memory PDF device by default, but that can have problems with fonts. Suggested by Claus Wilke.Added capture of font family when echoing persp() plots. Reported by Claus Wilke.
Added names for grobs from echoing
persp()andfilled.contour().Fix for echoing correct
fontsettings inaxis()andpersp(). Reported by Claus Wilke.Attempt to survive errors during echoing (like "figure margins too large") more elegantly
Changes in version 0.2-1
Fixed bug when echoing scatter plot with ZERO points in it. Reported by github user zxzb https://github.com/pmur002/gridgraphics/issues/9
Made plotdiff() more robust to unexpected output from ImageMagick's compare. Reported by Brian Ripley.
Added Zhijian (Jason) Wen as package author (it was he who contributed the
persp()andfilled.contour()support).
Changes in version 0.2
-
grid.echo()now supportspersp()andfilled.contour()
Changes in version 0.1-5
Changed stop() to warning() when call grid.echo() with empty “recordedplot” (suggested by Jonathon Godfrey).
Fixed examples for
grid.echo()(patch by Josh O'Brien).More robust Windows support for
plotdiff()andplotcompare()(patch by Josh O'Brien).Added defence against
axis(line=)specification of length greater than 1 (reported by Jimmy Oh).Added explicit handling of
C_layout(), though handling does nothing (reported by Jimmy Oh).Fixed drawing of ticks for
axis(at=)whenatexceeds range of axis scale. The ticks outside the axis scale range are now correctly clipped (reported by Jimmy Oh).Future-proofed test script for
hist.POSIXt()(so that the addition of new leap seconds does not generate errors aboutbreaksnot spanning the range of the data).
Changes in version 0.1-4
Added defence against
NAtext values in call totitle().
Changes in version 0.1-3
Added defence against code sending in NULL values in
par()settings (e.g., sp does this with thexpdsetting). Thesepar()settings are ignored (to match internal graphics C code behaviour).
Changes in version 0.1-2
Fixed documentation of first argument in
grid.echo()(it can be a function, not an expression).Added better checking in plotdiff() for existence of
convertandcomparetools and for recent-enough version of R (to be able to perform the strict check for differences).
Changes in version 0.1-1
First public release of gridGraphics package.