Skip to content

Commit

Permalink
Merge pull request #1120 from r-lib/rc-1.10.0
Browse files Browse the repository at this point in the history
Release {styler} 1.10.0
  • Loading branch information
lorenzwalthert authored May 24, 2023
2 parents 1584683 + c1730b5 commit 6313d85
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: styler
Title: Non-Invasive Pretty Printing of R Code
Version: 1.9.1
Version: 1.10.0
Authors@R:
c(person(given = "Kirill",
family = "Müller",
Expand Down
25 changes: 25 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
<!-- NEWS.md is maintained by https://cynkra.github.io/fledge, do not edit -->
# styler 1.10.0

This release contains speed-ups between 20% and 40% depending on your use case
thanks to replacing {base} functionality with {vctrs} (#1114). With the speed
boost introduced in version 1.8.0 in Oct. 2022, {styler} is now up to 2x as fast
as before release 1.8.0.

This release was created upon a request by the CRAN team to actively manage not
just cached files but also the potentially empty cache directories they live in
(#1118). Here are the changes in detail:


- Require at least R 3.6 (#1101).
- Prefer {vctrs} functions over slower {base} equivalents (#1114).
- Replace deprecated use of `rlang::with_handlers()` (#1103).
- Remove tail recursion in favor of `repeat` (#1113).
- split `test-public_api.R` for better sharding (#1109).
- 0-pad filenames for sharding (#1110)
- add missing {testthat} snapshots (#1115).
- Bump {touchstone} config (#1104, #1107).
- Bump `actions/checkout` to version 3 in GitHub Actions (#1098).

Thanks for everyone contributing to this release:

[&#x0040;IndrajeetPatil](https://github.com/IndrajeetPatil), [&#x0040;krlmlr](https://github.com/krlmlr), [&#x0040;kyleam](https://github.com/kyleam), [&#x0040;MichaelChirico](https://github.com/MichaelChirico), [&#x0040;mvanaman](https://github.com/mvanaman), [&#x0040;olivroy](https://github.com/olivroy), and [&#x0040;vvarik](https://github.com/vvarik).

# styler 1.9.1

Expand Down
13 changes: 8 additions & 5 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ editor_options:
wrap: 79
---

This is a release to fix critical bugs and release a new feature.
This is a release requested by the CRAN team to delete empty directories in the
user's cache.


## Test environments

- ubuntu 20.04 (on GitHub Actions): R devel, R 4.2.1, 4.1.2, R 4.0.5, R 3.6,
R 3.5.
- Windows Server 10 (on GitHub Actions): R devel, R 4.2.1, R 4.1.2, R 3.6.
- ubuntu 20.04 (on GitHub Actions): R devel, R 4.3.0, R 4.2.1, 4.1.2, R 4.0.5,
R 3.6
- Windows Server 10 (on GitHub Actions): R devel, R 4.3.0, R 4.2.1, R 4.1.2,
R 3.6.
- win-builder: R devel

## R CMD check results
Expand All @@ -37,4 +39,5 @@ compliant with the requirements of CRAN.
I also ran R CMD check on all 39 downstream dependencies of styler using the
revdepcheck package.

All of them finished R CMD CHECK with zero (0) ERRORS, WARNINGS and NOTES.
All of them finished R CMD CHECK with the same number of ERRORS, WARNINGS and
NOTES.
1 change: 1 addition & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,7 @@ setCacheRootPath
setdiff
setenv
Shallowify
sharding
shinydashboardPlus
shinymeta
shinyMonacoEditor
Expand Down

0 comments on commit 6313d85

Please sign in to comment.