From b016a9c8454166b620642b8bd2a75365f57f88cf Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Mon, 29 Jul 2024 10:51:18 -0700 Subject: [PATCH] NEWS typos (#255) --- NEWS.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index 464ad82..36ad362 100644 --- a/NEWS.md +++ b/NEWS.md @@ -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 @@ -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. @@ -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