Skip to content

Commit

Permalink
Merge tag 'v0.10'
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Kirill Müller committed Feb 6, 2016
2 parents 5af6b03 + 32425c7 commit a076c93
Show file tree
Hide file tree
Showing 7 changed files with 63 additions and 89 deletions.
2 changes: 0 additions & 2 deletions .Rbuildignore
@@ -1,5 +1,4 @@
\.git.*$
NEWS.md
NEWS.pdf
README.md
TODO
Expand All @@ -14,7 +13,6 @@ tests/testthat/test_output
^\.Rproj\.user$
GNUmakefile
^\.travis\.yml$
^NEWS\.md\.tmpl$
^cran-comments\.md$
^appveyor\.yml$
^revdep$
Expand Down
48 changes: 19 additions & 29 deletions DESCRIPTION
Expand Up @@ -2,38 +2,28 @@ Encoding: UTF-8
Package: tikzDevice
Type: Package
Title: R Graphics Output in LaTeX Format
Version: 0.9
Date: 2015-11-17
Authors@R: c(
person("Charlie", "Sharpsteen", role = "aut"),
person("Cameron", "Bracken", role = "aut"),
person("Kirill", "Müller", role = c("ctb", "cre"), email = "krlmlr+r@mailbox.org"),
person("Yihui", "Xie", role = "ctb")
)
Version: 0.10
Date: 2016-02-04
Authors@R: c( person("Charlie", "Sharpsteen", role = "aut"),
person("Cameron", "Bracken", role = "aut"), person("Kirill",
"Müller", role = c("ctb", "cre"), email =
"krlmlr+r@mailbox.org"), person("Yihui", "Xie", role = "ctb") )
URL: https://github.com/yihui/tikzDevice
BugReports: https://github.com/yihui/tikzDevice/issues
Description: Provides a graphics output device for R
that records plots in a LaTeX-friendly format. The device transforms
plotting commands issued by R functions into LaTeX code blocks. When
included in a LaTeX document, these blocks are interpreted with the
help of 'TikZ'---a graphics package for TeX and friends written by Till
Tantau. Using the 'tikzDevice', the text of R plots can contain LaTeX
commands such as mathematical formula. The device also allows arbitrary
LaTeX code to be inserted into the output stream.
Description: Provides a graphics output device for R that records plots
in a LaTeX-friendly format. The device transforms plotting
commands issued by R functions into LaTeX code blocks. When
included in a LaTeX document, these blocks are interpreted with
the help of 'TikZ'---a graphics package for TeX and friends
written by Till Tantau. Using the 'tikzDevice', the text of R
plots can contain LaTeX commands such as mathematical formula.
The device also allows arbitrary LaTeX code to be inserted into
the output stream.
License: GPL (>= 2)
Depends:
R (>= 2.14.0)
Imports:
filehash (>= 2.3),
png
Suggests:
testthat (>= 0.8.1),
evaluate,
stringr,
ggplot2,
maps,
knitr,
crayon
Depends: R (>= 2.14.0)
Imports: filehash (>= 2.3), png
Suggests: testthat (>= 0.8.1), evaluate, stringr, ggplot2, maps, knitr,
crayon
SystemRequirements: pgf (>= 2.00)
LazyLoad: yes
VignetteBuilder: knitr
Expand Down
21 changes: 21 additions & 0 deletions NEWS.md
@@ -1,3 +1,24 @@
Changes in version 0.10 (2016-02-04)
===

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.


Changes in version 0.9 (2015-11-16)
===

Expand Down
3 changes: 0 additions & 3 deletions NEWS.md.tmpl

This file was deleted.

12 changes: 6 additions & 6 deletions cran-comments.md
@@ -1,14 +1,14 @@
## Reasons
* Featurettes and bug fixes
* Improving handling of raster images

## Test environments
* local Ubuntu 14.10 install, R 3.2.2
* win-builder (release; devel passed before but didn't work at all today, tried twice)
* local Ubuntu 15.10 install, R 3.2.3
* win-builder (release and devel)

## R CMD check results
There were no ERRORs or WARNINGs, just a spell checker NOTE
about the name "Tantau".
about the name "Tantau" and about "LaTeX".

## Downstream dependencies
I have also run R CMD check on the nine downstream dependencies.
The checks passed, see http://bit.ly/1PwG6s5 for details.
I have also run R CMD check on the three downstream dependencies.
The checks passed.
2 changes: 1 addition & 1 deletion revdep/check.R
@@ -1,5 +1,5 @@
library("devtools")

res <- revdep_check(dependencies = TRUE)
res <- revdep_check(dependencies = "all")
revdep_check_save_summary(res)
revdep_check_save_logs(res)
64 changes: 16 additions & 48 deletions revdep/summary.md
Expand Up @@ -4,70 +4,49 @@

|setting |value |
|:--------|:----------------------------|
|version |R version 3.2.2 (2015-08-14) |
|version |R version 3.2.3 (2015-12-10) |
|system |x86_64, linux-gnu |
|ui |X11 |
|language |en_US:en |
|collate |en_US.UTF-8 |
|tz |NA |
|date |2015-11-16 |
|date |2016-02-04 |

## Packages

|package |* |version |date |source |
|:--------|:--|:-------|:----------|:--------------|
|crayon | |1.3.1 |2015-07-13 |CRAN (R 3.2.1) |
|evaluate | |0.8 |2015-09-18 |CRAN (R 3.2.2) |
|filehash | |2.3 |2015-05-30 |local |
|ggplot2 | |1.0.1 |2015-03-17 |CRAN (R 3.2.2) |
|knitr | |1.11 |2015-08-14 |CRAN (R 3.2.1) |
|maps | |3.0.0-2 |2015-10-02 |CRAN (R 3.2.2) |
|stringr | |1.0.0 |2015-04-30 |CRAN (R 3.2.0) |
|testthat | |0.11.0 |2015-10-14 |CRAN (R 3.2.2) |
|crayon | |1.3.1 |2015-07-13 |CRAN (R 3.2.3) |
|evaluate | |0.8 |2015-09-18 |CRAN (R 3.2.3) |
|filehash | |2.3 |2015-08-16 |CRAN (R 3.2.3) |
|ggplot2 | |2.0.0 |2015-12-18 |CRAN (R 3.2.3) |
|knitr | |1.12.3 |2016-01-22 |CRAN (R 3.2.3) |
|maps | |3.0.2 |2016-01-04 |CRAN (R 3.2.3) |
|png | |0.1-7 |2013-12-03 |CRAN (R 3.2.3) |
|stringr | |1.0.0 |2015-04-30 |CRAN (R 3.2.3) |
|testthat | |0.11.0 |2015-10-14 |CRAN (R 3.2.3) |

# Check results
9 checked out of 9 dependencies
3 checked out of 3 dependencies

## dplR (1.6.3)
Maintainer: Andy Bunn <andy.bunn@wwu.edu>

__OK__

## evaluate (0.8)
Maintainer: Yihui Xie <xie@yihui.name>
Bug reports: https://github.com/hadley/evaluate/issues

__OK__

## filehash (2.3)
Maintainer: Roger D. Peng <rdpeng@jhu.edu>

__OK__

## ggplot2 (1.0.1)
Maintainer: Hadley Wickham <h.wickham@gmail.com>
Bug reports: https://github.com/hadley/ggplot2/issues

__OK__

## knitr (1.11)
## knitr (1.12.3)
Maintainer: Yihui Xie <xie@yihui.name>
Bug reports: https://github.com/yihui/knitr/issues

__OK__

## maps (3.0.0-2)
Maintainer: Alex Deckmyn <alex.deckmyn@meteo.be>

__OK__

## sfsmisc (1.0-28)
## sfsmisc (1.0-29)
Maintainer: Martin Maechler <maechler@stat.math.ethz.ch>

```
checking package dependencies ... NOTE
Packages which this enhances but not available for checking:
‘nor1mix’ ‘polycor’ ‘sm’
‘nor1mix’ ‘polycor’
```
```
checking R code for possible problems ... NOTE
Expand All @@ -78,21 +57,10 @@ See section ‘Good practice’ in ‘?attach’.
```
```
checking Rd cross-references ... NOTE
Packages unavailable to check Rd xrefs: ‘pastecs’, ‘polycor’
Packages unavailable to check Rd xrefs: ‘pastecs’, ‘polycor’, ‘polynom’
```
```
DONE
Status: 3 NOTEs
```

## stringr (1.0.0)
Maintainer: Hadley Wickham <hadley@rstudio.com>

__OK__

## testthat (0.11.0)
Maintainer: Hadley Wickham <hadley@rstudio.com>
Bug reports: https://github.com/hadley/testthat/issues

__OK__

0 comments on commit a076c93

Please sign in to comment.