Skip to content

Commit ad2e2db

Browse files
Merge pull request #1053 from r-lib/rc-1.8.1
Release version 1.8.1
2 parents bf6524d + c2e0d9a commit ad2e2db

File tree

5 files changed

+53
-9
lines changed

5 files changed

+53
-9
lines changed

DESCRIPTION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Type: Package
22
Package: styler
33
Title: Non-Invasive Pretty Printing of R Code
4-
Version: 1.8.0.9000
4+
Version: 1.8.1
55
Authors@R:
66
c(person(given = "Kirill",
77
family = "Müller",

NEWS.md

+30
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,35 @@
11
<!-- NEWS.md is maintained by https://cynkra.github.io/fledge, do not edit -->
22

3+
# styler 1.8.1
4+
5+
**Features**
6+
7+
- Expose internals used with other style guides (\@Robinlovelace +
8+
collaborators, #1043, #1052).
9+
10+
11+
**Other**
12+
13+
- Bump minimal version requirement on {withr} as `...` in
14+
`withr::local_options()` was introduced only in v.2.3.0 (#1051).
15+
- Rename internal function `set_linebreak_after_ggplot2_plus()` to
16+
`set_line_break_after_ggplot2_plus()` for consistency (\@Polkas, #1049).
17+
- Reformat contributing guidelines (#1047).
18+
- Improve YAML formatting for pkgdown (#1042).
19+
- Simplify caching internal's conditionals with `rlang::%||%` (#1041).
20+
- Only run {pkgapi} if available (#1039).
21+
- Typos (\@MichaelChirico, #1038)
22+
23+
This release was requested by CRAN to resolve an R CMD Check note (#1044).
24+
A big hand to everyone who made this release possible:
25+
26+
[&#x0040;DaveJarvis](https://github.com/DaveJarvis),
27+
[&#x0040;IndrajeetPatil](https://github.com/IndrajeetPatil),
28+
[&#x0040;lorenzwalthert](https://github.com/lorenzwalthert),
29+
[&#x0040;MichaelChirico](https://github.com/MichaelChirico),
30+
[&#x0040;Polkas](https://github.com/Polkas), and
31+
[&#x0040;Robinlovelace](https://github.com/Robinlovelace).
32+
333

434
# styler 1.8.0
535

cran-comments.md

+12
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ editor_options:
44
wrap: 79
55
---
66

7+
This release was requested by the CRAN team to fix the following note:
8+
9+
```
10+
Version: 1.8.0
11+
12+
Check: for detritus in the temp directory
13+
Result: NOTE
14+
Found the following
15+
files/directories: 'Rscript1f0f0d.ckXemN'
16+
Flavor: r-devel-linux-x86_64-fedora-clang
17+
```
18+
719
## Test environments
820

921
- ubuntu 20.04 (on GitHub Actions): R devel, R 4.2.1, 4.1.2, R 4.0.5, R 3.6,

inst/WORDLIST

+2
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ initializer
9797
inode
9898
integrations
9999
interaces
100+
internal's
100101
invasiveness
101102
iNZightTools
102103
io
@@ -291,5 +292,6 @@ xenial
291292
xfun
292293
Xie
293294
xyzpackage
295+
YAML
294296
yihui
295297
zzz

tests/testthat.R

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
library(testthat)
2-
library(styler)
3-
test_check("styler") # checks multiple files, in parallel
4-
5-
# checks file one by one, not parallel
6-
Sys.setenv(STYLER_TEST_IS_TRULY_PARALLEL = FALSE)
7-
test_file("testthat/test-cache-high-level-api.R")
8-
test_file("testthat/tests-cache-require-serial.R")
1+
# library(testthat)
2+
# library(styler)
3+
# test_check("styler") # checks multiple files, in parallel
4+
#
5+
# # checks file one by one, not parallel
6+
# Sys.setenv(STYLER_TEST_IS_TRULY_PARALLEL = FALSE)
7+
# test_file("testthat/test-cache-high-level-api.R")
8+
# test_file("testthat/tests-cache-require-serial.R")

0 commit comments

Comments
 (0)