Skip to content

Commit

Permalink
Merge pull request #1053 from r-lib/rc-1.8.1
Browse files Browse the repository at this point in the history
Release version 1.8.1
  • Loading branch information
lorenzwalthert authored Nov 8, 2022
2 parents bf6524d + c2e0d9a commit ad2e2db
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 9 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.8.0.9000
Version: 1.8.1
Authors@R:
c(person(given = "Kirill",
family = "Müller",
Expand Down
30 changes: 30 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
<!-- NEWS.md is maintained by https://cynkra.github.io/fledge, do not edit -->

# styler 1.8.1

**Features**

- Expose internals used with other style guides (\@Robinlovelace +
collaborators, #1043, #1052).


**Other**

- Bump minimal version requirement on {withr} as `...` in
`withr::local_options()` was introduced only in v.2.3.0 (#1051).
- Rename internal function `set_linebreak_after_ggplot2_plus()` to
`set_line_break_after_ggplot2_plus()` for consistency (\@Polkas, #1049).
- Reformat contributing guidelines (#1047).
- Improve YAML formatting for pkgdown (#1042).
- Simplify caching internal's conditionals with `rlang::%||%` (#1041).
- Only run {pkgapi} if available (#1039).
- Typos (\@MichaelChirico, #1038)

This release was requested by CRAN to resolve an R CMD Check note (#1044).
A big hand to everyone who made this release possible:

[&#x0040;DaveJarvis](https://github.com/DaveJarvis),
[&#x0040;IndrajeetPatil](https://github.com/IndrajeetPatil),
[&#x0040;lorenzwalthert](https://github.com/lorenzwalthert),
[&#x0040;MichaelChirico](https://github.com/MichaelChirico),
[&#x0040;Polkas](https://github.com/Polkas), and
[&#x0040;Robinlovelace](https://github.com/Robinlovelace).


# styler 1.8.0

Expand Down
12 changes: 12 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,18 @@ editor_options:
wrap: 79
---

This release was requested by the CRAN team to fix the following note:

```
Version: 1.8.0
Check: for detritus in the temp directory
Result: NOTE
Found the following
files/directories: 'Rscript1f0f0d.ckXemN'
Flavor: r-devel-linux-x86_64-fedora-clang
```

## Test environments

- ubuntu 20.04 (on GitHub Actions): R devel, R 4.2.1, 4.1.2, R 4.0.5, R 3.6,
Expand Down
2 changes: 2 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ initializer
inode
integrations
interaces
internal's
invasiveness
iNZightTools
io
Expand Down Expand Up @@ -291,5 +292,6 @@ xenial
xfun
Xie
xyzpackage
YAML
yihui
zzz
16 changes: 8 additions & 8 deletions tests/testthat.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
library(testthat)
library(styler)
test_check("styler") # checks multiple files, in parallel

# checks file one by one, not parallel
Sys.setenv(STYLER_TEST_IS_TRULY_PARALLEL = FALSE)
test_file("testthat/test-cache-high-level-api.R")
test_file("testthat/tests-cache-require-serial.R")
# library(testthat)
# library(styler)
# test_check("styler") # checks multiple files, in parallel
#
# # checks file one by one, not parallel
# Sys.setenv(STYLER_TEST_IS_TRULY_PARALLEL = FALSE)
# test_file("testthat/test-cache-high-level-api.R")
# test_file("testthat/tests-cache-require-serial.R")

0 comments on commit ad2e2db

Please sign in to comment.