Skip to content

Commit 81702b6

Browse files
sfirkebilldenney
andauthored
Incorporate v2.2.1 branch into main (#590)
* cherried some of #584 for CRAN bugfix release * bump version number * use Debian-friendly timezone * gitignore/rbuildignore revdep * fix codecov shield URL * prep for release * add CRAN-SUBMISSIONS to Rbuildignore * bump to dev pkg number --------- Co-authored-by: Bill Denney <[email protected]>
1 parent 7eaa06d commit 81702b6

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

.Rbuildignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@ Index.Rmd
2525
^_pkgdown\.yml$
2626
^pkgdown$
2727
^\.github$
28+
revdep/
29+
^CRAN-SUBMISSION$

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,7 @@ docs
1010
Meta
1111
docs/
1212
janitor.Rproj
13+
14+
15+
revdep/*
16+
revdep

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package: janitor
22
Title: Simple Tools for Examining and Cleaning Dirty Data
3-
Version: 2.2.0.9000
3+
Version: 2.2.1.9000
44
Authors@R: c(
55
person("Sam", "Firke", , "[email protected]", role = c("aut", "cre")),
66
person("Bill", "Denney", , "[email protected]", role = "ctb"),

NEWS.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# janitor 2.2.0.9000 - unreleased development version
1+
# janitor 2.2.1.9000 - unreleased development version
22

33
## Breaking changes
44

@@ -8,8 +8,6 @@ These are all minor breaking changes resulting from enhancements and are not exp
88

99
* When `tabyl()` is called on a data.frame containing labels, it now displays the label attribute as the name of the first column in the the resulting `tabyl` object (@olivroy, #394). This may break subsequent code that refers to the output of such a `tabyl` by column name. To maintain the previous behavior of ignoring variable labels, you can remove the labels with a function like `haven::zap_labels()` or `labelled::remove_labels()` before calling `tabyl()`.
1010

11-
* `sas_numeric_to_date()` now warns for timezones other than "UTC" due to the way that SAS loads timezones, and the default timezone for `sas_numeric_to_date()` is now "UTC" instead of "" (#583, @billdenney)
12-
1311
## New features
1412

1513
* A new function `paste_skip_na()` pastes without including NA values (#537).
@@ -36,6 +34,14 @@ These are all minor breaking changes resulting from enhancements and are not exp
3634

3735
* Restyle the package and vignettes according to the [tidyverse style guide](https://style.tidyverse.org) (#548, @olivroy)
3836

37+
# janitor 2.2.1 (2024-12-22)
38+
39+
This is a trivial bugfix release whose only purpose is fixing a test that was failing on CRAN due to the way timezones are handled in Debian. In making that fix (PR #584), we made a small - technically breaking - improvement to a function that works with SAS dates. >99.9% of janitor users should be unaffected by this release.
40+
41+
## Breaking changes
42+
43+
* `sas_numeric_to_date()` now warns for timezones other than "UTC" due to the way that SAS loads timezones, and the default timezone for `sas_numeric_to_date()` is now "UTC" instead of "" (#583, @billdenney)
44+
3945
# janitor 2.2.0 (2023-02-02)
4046

4147
## Breaking changes

cran-comments.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,23 @@
11
# Submission
2-
2023-02-01
2+
2024-12-22
33

44
## Submission summary
55

6-
*Resubmitting as 2.2.0 again with fixes to URLs in documentation*
7-
8-
### janitor version 2.2.0
9-
An accumulation of enhancements and bug fixes. Breaking changes only for edge cases.
10-
11-
Notably, this fixes the current test failures on CRAN for this package, resulting from
12-
changes introduced in the latest version of the dplyr package.
6+
### janitor version 2.2.1
7+
Contains only trivial changes needed to address failing test on CRAN, specific to how timezones are handled in Debian.
138

149
### Test environments
1510

1611
#### Windows
17-
* Windows 10 with R-release 4.2.2 (local)
18-
* Windows Server 2022 x64 (build 20348) with R Under development (unstable) (2023-01-31 r83741 ucrt) via win-builder, checked 2023-02-01
12+
* Windows Server 2022 x64 (build 20348) with R Under development (unstable) (2024-12-20 r87452 ucrt) via win-builder, checked 2024-12-21
1913

2014
#### Linux
21-
* ubuntu 22.04 R-release 4.2.2 (Github CI)
22-
* ubuntu 22.04 R-devel R Under development (unstable) (2023-02-01) (Github CI)
23-
* ubuntu 22.04 R-oldrel 4.1.3 (Github CI)
24-
25-
#### Mac
26-
* Mac OS 12.6.2 with R-release 4.2.2 (Github CI)
15+
* Ubuntu 24.04 R-version 4.3.3 (2024-02-29) (local)
2716

2817
### R CMD check results
2918
0 errors | 0 warnings | 0 notes
3019

3120
### Downstream dependencies
3221
This does not negatively affect downstream dependencies.
3322

34-
revdepcheck passed for 101 of 101 packages (98 from CRAN, 3 from bioconductor).
23+
revdepcheck passed for 124 of 125 packages. I investigated package BFS and the erroring function and found no use of janitor's functions so believe this to be a false positive.

tests/testthat/test-adorn-totals.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ test_that("supplying NA to fill preserves column types", {
346346
a = c("hi", "low", "med"),
347347
b = factor(c("big", "small", "regular")),
348348
c = c(as.Date("2000-01-01"), as.Date("2000-01-02"), as.Date("2000-01-03")),
349-
d = c(as.POSIXct("2000-01-01", tz = "ROK"), as.POSIXct("2000-01-02"), as.POSIXct("2000-01-03")),
349+
d = c(as.POSIXct("2000-01-01", tz = "UTC"), as.POSIXct("2000-01-02"), as.POSIXct("2000-01-03")),
350350
e = 1:3,
351351
f = 4:6,
352352
g = c(TRUE, FALSE, TRUE),

0 commit comments

Comments
 (0)