From 19c630d2b150ef98405d728f9a9c035886544901 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Thu, 10 Mar 2016 21:42:31 +0100 Subject: [PATCH 1/5] add pre-tibble NEWS --- NEWS.md | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/NEWS.md b/NEWS.md index 93976d6c9..bc1819473 100644 --- a/NEWS.md +++ b/NEWS.md @@ -97,3 +97,55 @@ First release. Contains functions related to table sources, the `tbl` class and - `lst()`, `lst_()` - `add_row()` - `add_rownames()` + + +pre-tibble +========== + +* Dplyr uses `setOldClass(c("tbl_df", "tbl", "data.frame"))` to help with S4 + (#969). + +* `glimpse` now (invisibly) returns its argument (#1570). + +* `tbl_df` automatically generates column names (#1606). + +* `glimpse()` is now a generic. The default method dispatches to `str()` + (#1325). + +* `tbl_df`s gain `$` and `[[` methods that are ~5x faster than the defaults, + never do partial matching (#1504), and throw an error if the variable + does not exist. + +* `all_equal()` allows to compare data frames ignoring row and column order, + and optionally ignoring minor differences in type (e.g. int vs. double) + (#821). + +* `as_data_frame()` is now an S3 generic with methods for lists (the old + `as_data_frame()`), data frames (trivial), and matrices (with efficient + C++ implementation) (#876). + +* New `add_row()` makes it easy to add a new row to data frame (#1021) + +* New `lst()` and `lst_()` which create lists in the same way that + `data_frame()` and `data_frame_()` create data frames (#1290). + +* The internals of `data_frame()` and `as_data_frame()` have been aligned, + so `as_data_frame()` will now automatically recycle length-1 vectors. + Both functions give more informative error messages if you attempting to + create an invalid data frame. You can no longer create a data frame with + duplicated names (#820). + +* `vignette("data_frames")` describes the difference between tbl_dfs and + regular data frames (#1468). + +* `print.tbl_df()` is considerably faster if you have very wide data frames. + It will now also only list the first 100 additional variables not already + on screen - control this with the new `n_extra` parameter to `print()` + (#1161). + +* `data_frame()` and `as_data_frame()` now check that you don't have any + `POSIXlt` columns, and tell you to use `POSIXct` if you do (#813). + +* `trunc_mat()` correctly prints the type of list columns (#1379) + +* `frame_data()` properly constructs rectangular tables. (#1377, @kevinushey) From 6c4d1bdd298b4b6eeb390a83f78ebbf9ff97713c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Thu, 10 Mar 2016 21:44:53 +0100 Subject: [PATCH 2/5] tweak --- NEWS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index bc1819473..3247d5ad1 100644 --- a/NEWS.md +++ b/NEWS.md @@ -102,10 +102,10 @@ First release. Contains functions related to table sources, the `tbl` class and pre-tibble ========== -* Dplyr uses `setOldClass(c("tbl_df", "tbl", "data.frame"))` to help with S4 +* Uses `setOldClass(c("tbl_df", "tbl", "data.frame"))` to help with S4 (#969). -* `glimpse` now (invisibly) returns its argument (#1570). +* `glimpse()` now (invisibly) returns its argument (#1570). * `tbl_df` automatically generates column names (#1606). From 98c03f215dc40bcc66e7f7f9d31fefd6c6d60a0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Thu, 10 Mar 2016 21:49:42 +0100 Subject: [PATCH 3/5] chmod --- README.Rmd | 0 README.md | 0 2 files changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 README.Rmd mode change 100755 => 100644 README.md diff --git a/README.Rmd b/README.Rmd old mode 100755 new mode 100644 diff --git a/README.md b/README.md old mode 100755 new mode 100644 From 2d7bc4ecf266edd9103b5b2159949fcafcf6703b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Thu, 10 Mar 2016 21:52:10 +0100 Subject: [PATCH 4/5] bump version to 0.3 --- DESCRIPTION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index 59a816a5b..40b87e351 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Encoding: UTF-8 Package: tibble Type: Package -Version: 0.2-5 +Version: 0.3 Date: 2016-03-10 Title: Simple Data Frames Description: Provides a 'tbl_df' class that offers better checking and From 39bf539b4c738dd99b73ef8f4fc5d84f00c4c663 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kirill=20M=C3=BCller?= Date: Thu, 10 Mar 2016 21:54:21 +0100 Subject: [PATCH 5/5] NEWS --- NEWS.md | 55 +++++++++++++++++++++---------------------------------- 1 file changed, 21 insertions(+), 34 deletions(-) diff --git a/NEWS.md b/NEWS.md index 3247d5ad1..7931c50ef 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,40 +1,27 @@ -Version 0.2-5 (2016-03-10) +Version 0.3 (2016-03-10) === -- Include vignette (#38). -- Use AppVeyor for testing. - -Version 0.2-4 (2016-03-10) -=== - -- Prepare CRAN release, check with win-builder and valgrind. -- New `as_data_frame.table()` with argument `n` to control name of count column (#22, #23). - - -Version 0.2-3 (2016-03-10) -=== - -- New function `repair_names()` fixes missing and duplicate names (#10, #15, @r2evans). -- Finer coverage analysis (#37). -- Use `tibble` prefix for options (#13, #36). -- Expand README. -- Fix typos in documentation. -- Remove use of `src()` from examples. - - -Version 0.2-2 (2016-03-08) -=== - -- `frame_data()` now also creates a list column if one of the entries is a list (#32). -- New `rownames_to_column()` and `column_to_rownames()` functions, replace `add_rownames()` (#11, @zhilongjia). - - -Version 0.2-1 (2016-03-08) -=== - -- Use new-style `.travis.yml` -- Fix NOTE from `R CMD check`. +- Features + - New `as_data_frame.table()` with argument `n` to control name of count column (#22, #23). + - New function `repair_names()` fixes missing and duplicate names (#10, #15, @r2evans). + - `frame_data()` now also creates a list column if one of the entries is a list (#32). + - New `rownames_to_column()` and `column_to_rownames()` functions, replace `add_rownames()` (#11, @zhilongjia). + - Use `tibble` prefix for options (#13, #36). + +- Documentation + - Add pre-tibble NEWS (#39, #40). + - Include vignette (#38). + - Expand README. + - Fix typos in documentation. + - Remove use of `src()` from examples. + +- Prepare CRAN release + - Use new-style `.travis.yml` + - Use AppVeyor for testing. + - Finer coverage analysis (#37). + - Check with win-builder and valgrind. + - Fix NOTE from `R CMD check`. Version 0.2 (2016-03-02)