Skip to content

Commit ff23a18

Browse files
Merge pull request #1183 from r-lib/rc-1.10.3
Release {styler} 1.10.3
2 parents 208d9c7 + 54df59b commit ff23a18

File tree

4 files changed

+44
-7
lines changed

4 files changed

+44
-7
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
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.10.2.9000
4+
Version: 1.10.3
55
Authors@R:
66
c(person(given = "Kirill",
77
family = "Müller",

NEWS.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
<!-- NEWS.md is maintained by https://cynkra.github.io/fledge, do not edit -->
22

3+
# styler 1.10.3
4+
5+
This release was requested by the CRAN team since parser error messages changed,
6+
which were hard-coded in some unit tests (#1180).
7+
8+
**Minor changes**
9+
10+
- Add a package sticker (#1172, #1173).
11+
- Improve error message for scope (#1176).
12+
- Update lintr config and address newly found lints (#1158).
13+
- Fix new lints about implicit return (#1166).
14+
- Clean new lints (#1149).
15+
- Clean up unnecessary YAML front matter in README (#1165).
16+
17+
**CI**
18+
19+
- Update pre-commit and GitHub Actions (#1177, #1175, #1171, #1171, #1164, #1152, #1148).
20+
- Delete URL check workflow (#1160).
21+
22+
**Testing**
23+
24+
- Suppress warning in io tests (#1169).
25+
- Ensure unit tests check for appropriate error messages in the R parser for
26+
R > 4.3 (#1180).
27+
- Remove outdated test about repeated parsing (#1163).
28+
- Update roxygen test comments (#1162).
29+
- Delete unused snapshot (#1159).
30+
31+
We thank everyone who helped making this release possible.
32+
33+
[&#x0040;AshesITR](https://github.com/AshesITR), [&#x0040;averissimo](https://github.com/averissimo), [&#x0040;IndrajeetPatil](https://github.com/IndrajeetPatil), [&#x0040;lorenzwalthert](https://github.com/lorenzwalthert), [&#x0040;mcanouil](https://github.com/mcanouil), [&#x0040;moodymudskipper](https://github.com/moodymudskipper), [&#x0040;olivroy](https://github.com/olivroy), [&#x0040;sbanville-delfi](https://github.com/sbanville-delfi), [&#x0040;sorhawell](https://github.com/sorhawell), [&#x0040;ssh352](https://github.com/ssh352), [&#x0040;swo](https://github.com/swo), and [&#x0040;vertesy](https://github.com/vertesy).
34+
335
# styler 1.10.2
436

537
This release was requested by the CRAN team to fix CRAN warning on invalid

R/zzz.R

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,14 @@
1717
)
1818
toset <- !(names(op.styler) %in% names(op))
1919
if (any(toset)) options(op.styler[toset])
20-
ask_to_switch_to_non_default_cache_root()
21-
remove_cache_old_versions()
22-
remove_old_cache_files()
20+
rlang::try_fetch(
21+
{
22+
ask_to_switch_to_non_default_cache_root()
23+
remove_cache_old_versions()
24+
remove_old_cache_files()
25+
},
26+
error = function(...) NULL
27+
)
2328
invisible()
2429
}
2530

cran-comments.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ editor_options:
44
wrap: 79
55
---
66

7-
This is a release requested by the CRAN team to comply with
8-
`R_CHECK_STOP_ON_INVALID_NUMERIC_VERSION_INPUTS`.
7+
This is a release requested by the CRAN team to comply with new error messages
8+
in the R parser that caused unit tests to fail.
99

1010

1111
## Test environments
@@ -36,7 +36,7 @@ compliant with the requirements of CRAN.
3636

3737
## Downstream Dependencies
3838

39-
I also ran R CMD check on all 39 downstream dependencies of styler using the
39+
I also ran R CMD check on all 47 downstream dependencies of styler using the
4040
revdepcheck package.
4141

4242
All of them finished R CMD CHECK with the same number of ERRORS, WARNINGS and

0 commit comments

Comments
 (0)