diff --git a/DESCRIPTION b/DESCRIPTION index 0b040103..0752eac7 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,10 +1,10 @@ Package: janitor Title: Simple Tools for Examining and Cleaning Dirty Data -Version: 1.1 +Version: 1.1.0 Authors@R: c(person("Sam", "Firke", email = "samuel.firke@gmail.com", role = c("aut", "cre")), person("Chris", "Haid", email = "chrishaid@gmail.com", role = "ctb"), person("Ryan", "Knight", email = "ryangknight@gmail.com", role = "ctb"), - person("Bill", "Denney", email = "wdenney@humanpredictions.com", role="ctb")) + person("Bill", "Denney", email = "wdenney@humanpredictions.com", role = "ctb")) Description: The main janitor functions can: perfectly format data.frame column names; provide quick counts of variable combinations (i.e., frequency tables and crosstabs); and isolate duplicate records. Other janitor functions diff --git a/NEWS.md b/NEWS.md index be5f36fc..2ce0be3c 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# janitor 1.1 (2018-07-17) +# janitor 1.1.0 (2018-07-17) ## Release summary This release was requested by CRAN to address some minor package dependency issues. It also contains several updates and additions described below. diff --git a/cran-comments.md b/cran-comments.md index 8d6a06a1..ca17da18 100644 --- a/cran-comments.md +++ b/cran-comments.md @@ -25,4 +25,4 @@ Per CRAN request (Kurt Hornik on July 3rd 2018), I am submitting a patched versi ### Downstream dependencies The only breaking change in this release that could affect another package is quite obscure and does not affect the downstream dependencies. -I checked 5 reverse dependencies from CRAN: ballr, bomrang, driftR, fivethirtyeight, moderndive. I get some unrelated warnings and notes but nothing having to do with the janitor package or this update. \ No newline at end of file +I checked 6 reverse dependencies from CRAN: ballr, bomrang, driftR, fivethirtyeight, moderndive, questionr. I get some unrelated warnings and notes but nothing having to do with the janitor package or this update. \ No newline at end of file diff --git a/docs/articles/index.html b/docs/articles/index.html index e1e1c8f1..ccc8f31a 100644 --- a/docs/articles/index.html +++ b/docs/articles/index.html @@ -97,7 +97,7 @@
vignettes/janitor.Rmd
diff --git a/docs/articles/tabyls.html b/docs/articles/tabyls.html
index fae71500..69fe0ad5 100644
--- a/docs/articles/tabyls.html
+++ b/docs/articles/tabyls.html
@@ -80,7 +80,7 @@
vignettes/tabyls.Rmd
diff --git a/docs/news/index.html b/docs/news/index.html
index 8227f7ad..41159b25 100644
--- a/docs/news/index.html
+++ b/docs/news/index.html
@@ -105,33 +105,39 @@ This release was requested by CRAN to address some minor package dependency issues. It also contains several updates and additions described below.
+The new function row_to_names
handles the case where a dirty data file is read in with its names stored as a row of the data.frame, rather than in the names. This function sets the names of the data.frame to this row and optionally cleans up the rows above and including where the names were stored. Thanks to @billdenney for writing this feature.
The new function row_to_names()
handles the case where a dirty data file is read in with its names stored as a row of the data.frame, rather than in the names. This function sets the names of the data.frame to this row and optionally cleans up the rows above and including where the names were stored. Thanks to @billdenney for writing this feature.
excel_numeric_to_date()
can now provide times as well with the new include_time
argument.
excel_numeric_to_date()
can now convert fractions of a day to time, e.g., excel_numeric_to_date(43001.01, include_time = TRUE)
returns the POSIXlt value "2017-09-23 00:14:24"
. Thanks to @billdenney.
As part of excel_numeric_to_date()
handling times, if a Date-only result is requested (the default) any fractional part of the date is now removed. The date itself is identical, but the underlying object now has only the integer part of the date.
As part of excel_numeric_to_date()
now handling times, if a Date-only result is requested (the default behavior of include_time = FALSE
), any fractional part of the date is now removed. The printed date itself is identical, but the internal representation of this object now contains only the integer part of the date. For example, while under both the old and new versions of this function the call excel_numeric_to_date_old(42001.1)
would return the Date object "2014-12-28"
, calling as.numeric
on this Date result would previously return 16432.1
, while now it returns 16432
.
This an improved behavior, as now excel_numeric_to_date(42001.1, include_time = FALSE) == as.Date("2014-12-28")
returns TRUE, while previously it would appear to be equivalent from the printed value but this comparison would return FALSE.
A stable version 1.0.0, with a new tabyl
API and with breaking changes to the output of clean_names()
.
This builds on the original functionality of janitor, with similar-but-improved tools and significantly-changed implementation.
This is a bug-fix release with no new functionality or changes. It fixes a bug where adorn_crosstab()
failed if the tibble
package was version > 1.4.
Major changes to janitor are currently in development on GitHub and will be released soon. This is not that next big release.
The primary purpose of this release is to maintain accuracy given breaking changes to the dplyr package, upon which janitor is built, in dplyr version >0.6.0. This update also contains a number of minor improvements.
Critical: if you update the package dplyr
to version >0.6.0, you must update janitor to version 0.3.0 to ensure accurate results from janitor’s tabyl()
function. This is due to a change in the behavior of dplyr’s _join
functions (discussed in #111).
janitor 0.3.0 is compatible with this new version of dplyr as well as old versions of dplyr back to 0.5.0. That is, updating janitor to 0.3.0 does not necessitate an update to dplyr >0.6.0.
@@ -401,7 +407,7 @@