Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fixes ========= - Time series matrices (objects of class `mts` and `ts`) are now supported in `as_tibble()` (#184). - The `all_equal()` function (called by `all.equal.tbl_df()`) now forwards to `dplyr` and fails with a helpful message if not installed. Data frames with list columns cannot be compared anymore, and differences in the declared class (`data.frame` vs. `tbl_df`) are ignored. The `all.equal.tbl_df()` method gives a warning and forwards to `NextMethod()` if `dplyr` is not installed; call `all.equal(as.data.frame(...), ...)` to avoid the warning. This ensures consistent behavior of this function, regardless if `dplyr` is loaded or not (#198). Interface changes ================= - Now requiring R 3.1.0 instead of R 3.1.3 (#189). - Add `as.tibble()` as an alias to `as_tibble()` (#160, @LaDilettante). - New `frame_matrix()`, similar to `frame_data()` but for matrices (#140, #168, @LaDilettante). - New `deframe()` as reverse operation to `enframe()` (#146, #214). - Removed unused dependency on `assertthat`. Features ======== General ------- - Keep column classes when adding row to empty tibble (#171, #177, @LaDilettante). - Singular and plural variants for error messages that mention a list of objects (#116, #138, @LaDilettante). - `add_column()` can add columns of length 1 (#162, #164, @LaDilettante). Input validation ---------------- - An attempt to read or update a missing column now throws a clearer warning (#199). - An attempt to call `add_row()` for a grouped data frame results in a helpful error message (#179). Printing -------- - Render Unicode multiplication sign as `x` if it cannot be represented in the current locale (#192, @ncarchedi). - Backtick `NA` names in printing (#206, #207, @jennybc). - `glimpse()` now uses `type_sum()` also for S3 objects (#185, #186, @holstius). - The `max.print` option is ignored when printing a tibble (#194, #195, @t-kalinowski). Documentation ============= - Fix typo in `obj_sum` documentation (#193, @etiennebr). - Reword documentation for `tribble()` (#191, @kwstat). - Now explicitly stating minimum Rcpp version 0.12.3. Internal ======== - Using registration of native routines.
- Loading branch information
Showing
26 changed files
with
3,754 additions
and
789 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ | |
^appveyor\.yml$ | ||
^\.deploy_key\.pub$ | ||
^\.deploy_key\.enc$ | ||
^API$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
# API for tibble package | ||
|
||
## Exported functions | ||
|
||
add_column(.data, ..., .before = NULL, .after = NULL) | ||
add_row(.data, ..., .before = NULL, .after = NULL) | ||
as.tibble(x, ...) | ||
as_data_frame(x, ...) | ||
as_tibble(x, ...) | ||
column_to_rownames(df, var = "rowname") | ||
data_frame(...) | ||
data_frame_(xs) | ||
deframe(x) | ||
enframe(x, name = "name", value = "value") | ||
frame_data(...) | ||
frame_matrix(...) | ||
glimpse(x, width = NULL, ...) | ||
has_name(x, name) | ||
has_rownames(df) | ||
is.tibble(x) | ||
is_tibble(x) | ||
is_vector_s3(x) | ||
knit_print.trunc_mat(x, options) | ||
lst(...) | ||
lst_(xs) | ||
obj_sum(x) | ||
remove_rownames(df) | ||
repair_names(x, prefix = "V", sep) | ||
rownames_to_column(df, var = "rowname") | ||
tbl_sum(x) | ||
tibble(...) | ||
tibble_(xs) | ||
tribble(...) | ||
trunc_mat(x, n = NULL, width = NULL, n_extra = NULL) | ||
type_sum(x) | ||
|
||
## S3 methods | ||
|
||
as_data_frame.NULL(x, ...) | ||
as_data_frame.data.frame(x, validate = TRUE, ...) | ||
as_data_frame.default(x, ...) | ||
as_data_frame.list(x, validate = TRUE, ...) | ||
as_data_frame.matrix(x, ...) | ||
as_data_frame.table(x, n = "n", ...) | ||
as_data_frame.tbl_df(x, ...) | ||
as_tibble.NULL(x, ...) | ||
as_tibble.data.frame(x, validate = TRUE, ...) | ||
as_tibble.default(x, ...) | ||
as_tibble.list(x, validate = TRUE, ...) | ||
as_tibble.matrix(x, ...) | ||
as_tibble.poly(x, ...) | ||
as_tibble.table(x, n = "n", ...) | ||
as_tibble.tbl_df(x, ...) | ||
as_tibble.ts(x, ...) | ||
check_names_before_after.character(j, names) | ||
check_names_before_after.default(j, ...) | ||
check_names_df.character(j, x) | ||
check_names_df.default(j, ...) | ||
check_names_df.logical(j, x) | ||
check_names_df.numeric(j, x) | ||
format_v.character(x) | ||
format_v.default(x) | ||
format_v.list(x) | ||
glimpse.data.frame(x, width = NULL, ...) | ||
glimpse.default(x, width = NULL, max.level = 3, ...) | ||
glimpse.tbl(x, width = NULL, ...) | ||
is_vector_s3.Date(x) | ||
is_vector_s3.POSIXct(x) | ||
is_vector_s3.data.frame(x) | ||
is_vector_s3.default(x) | ||
is_vector_s3.difftime(x) | ||
is_vector_s3.factor(x) | ||
is_vector_s3.ordered(x) | ||
obj_sum.POSIXlt(x) | ||
obj_sum.default(x) | ||
obj_sum.list(x) | ||
quote_n.character(x) | ||
quote_n.default(x) | ||
tbl_sum.default(x) | ||
tbl_sum.grouped_df(x) | ||
tbl_sum.tbl_df(x) | ||
tbl_sum.tbl_sql(x) | ||
type_sum.Date(x) | ||
type_sum.POSIXt(x) | ||
type_sum.data.frame(x) | ||
type_sum.default(x) | ||
type_sum.difftime(x) | ||
type_sum.factor(x) | ||
type_sum.ordered(x) | ||
type_sum.tbl_df(x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
YEAR: 2013-2016 | ||
YEAR: 2013-2017 | ||
COPYRIGHT HOLDER: RStudio |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.