Skip to content

Commit

Permalink
NEWS typos (#255)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Jul 29, 2024
1 parent 3344152 commit b016a9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

- We added an argument for LIFO cleanup: `on.exit(after = FALSE)`.
- Calling `sys.on.exit()` elsewhere than top-level didn't work. This
is needed for manual invokation with `deferred_run()`.
is needed for manual invocation with `deferred_run()`.

Following this change, `defer()` is now much faster (although still
slower than `on.exit()` which is a primitive function and about as
Expand All @@ -25,7 +25,7 @@
`globalenv()` (the default), you now need to set
`options(withr.hook_source = TRUE)` to get proper withr support
(running `defer()` or `local_` functions at top-level of a script).
THis support is disabled by default in local environments to avoid a
This support is disabled by default in local environments to avoid a
performance penalty in normal usage of withr features.


Expand All @@ -36,7 +36,7 @@

* `deferred_run()` can now be run at any point in a knitr file (#235).

,* `local_tempfile()` now writes `lines` in UTF-8 (#210) and always uses
* `local_tempfile()` now writes `lines` in UTF-8 (#210) and always uses
`\n` for newlines (#216).

* `local_pdf()` and friends now correctly restore to the previously
Expand Down

0 comments on commit b016a9c

Please sign in to comment.