Skip to content

Commit 93ceb8f

Browse files
committed
chore: prepare for CRAN resubmission
- Declare R (>= 4.1.0) in DESCRIPTION (the package uses the native pipe |> and the lambda shorthand \(x); this was a NOTE in the CRAN checks that preceded the 2025-12-13 archival) - Bump RoxygenNote to 7.3.3 - Record the stringr 1.6.0 fix from #59 in NEWS - Exclude .claude/ from package builds and git history
1 parent 5d7b864 commit 93ceb8f

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@
1515
^CRAN-RELEASE$
1616
^revdep$
1717
^CRAN-SUBMISSION$
18+
^\.claude$

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
data-raw/japanpost
55
data-raw/cabinet_office
66
.DS_Store
7+
.claude/skills/

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ License: MIT + file LICENSE
2929
URL: https://uribo.github.io/zipangu/,
3030
https://github.com/uribo/zipangu
3131
BugReports: https://github.com/uribo/zipangu/issues
32-
Depends:
33-
R (>= 3.2)
32+
Depends:
33+
R (>= 4.1.0)
3434
Imports:
3535
dplyr (>= 0.8.3),
3636
lifecycle (>= 0.1.0),
@@ -51,4 +51,4 @@ Suggests:
5151
Encoding: UTF-8
5252
LazyData: true
5353
Roxygen: list(markdown = TRUE)
54-
RoxygenNote: 7.3.2
54+
RoxygenNote: 7.3.3

NEWS.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44

55
- `convert_jyear()` and `convert_jdate()`: the default of `legacy` is changed from `FALSE` to `TRUE` (#60). The non-legacy ('ICU'-based) path can abort the R process on platforms where `stringi` is linked against system 'ICU' (e.g. macOS), and the failure cannot be caught from R. The legacy path based on `lubridate` is now the default, and the previous behaviour is opt-in via `legacy = FALSE` or `options(zipangu.convert_jyear.legacy = FALSE)` / `options(zipangu.convert_jdate.legacy = FALSE)`.
66

7+
## Fix
8+
9+
- `separate_address()`: handle `NA` patterns in `stringr::str_remove()` for compatibility with stringr 1.6.0 (@hadley, #59).
10+
11+
## Enhancement
12+
13+
- Declare `R (>= 4.1.0)` in `Depends`, reflecting use of the native pipe `|>` and the lambda shorthand `\(x)`.
14+
715
# zipangu 0.3.3
816

917
## Fix

0 commit comments

Comments
 (0)