Skip to content

Commit

Permalink
Add news item for safe graphics functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nanxstats committed Jun 3, 2024
1 parent 30d2577 commit 4d2d85e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
* Use code to generate the Unicode/LaTeX mapping table, to replace the previous
`R/sysdata.rda` solution. Now the mapping table is directly accessible
via `r2rtf:::unicode_latex` (thanks, @yihui, #218).
* Introduce "safe" versions of `graphics::par()` and `graphics::strwidth()`
that isolate their side effects by evaluating within a temporary BMP device.
This should avoid the generation of `Rplots.pdf` when when running r2rtf code
in certain context such as clicking the test buttons in RStudio environments
(#227).

# r2rtf 1.1.1

Expand Down

0 comments on commit 4d2d85e

Please sign in to comment.