We’re proud to announce version 1.2.0 of the tibble package. Tibbles are a modern reimagining of the data frame, keeping what time has shown to be effective, and throwing out what is not. Grab the latest version with:
|
|
This is mostly a maintenance release, with the following major changes:
-
More options for adding individual rows and (new!) columns
-
Improved function names
-
Minor tweaks to the output
There are many other small improvements and bug fixes: please see the release notes for a complete list.
Thanks to Jenny Bryan
for add_row() and add_column() improvements and ideas, to William Dunlap
for pointing out a bug with tibble’s implementation of all.equal(), to Kevin Wright
for pointing out a rare bug with glimpse(), and to all the other contributors. Use the issue tracker
to submit bugs or suggest ideas, your contributions are always welcome.
Adding rows and columns#
There are now more options for adding individual rows, and columns can be added in a similar way, illustrated with this small tibble:
|
|
The add_row() function allows control over where the new rows are added. In the following example, the row (4, 0) is added before the second row:
|
|
Adding more than one row is now fully supported, although not recommended in general because it can be a bit hard to read.
|
|
Columns can now be added in much the same way with the new add_column() function:
|
|
It also supports .before and .after arguments:
|
|
The add_column() function will never alter your existing data: you can’t overwrite existing columns, and you can’t add new observations.
Function names#
frame_data() is now tribble(), which stands for “transposed tibble”. The old name still works, but will be deprecated eventually.
|
|
Output tweaks#
We’ve tweaked the output again to use the multiply character × instead of x when printing dimensions (this still renders nicely on Windows.) We surround non-semantic column with backticks, and dttm is now used instead of time to distinguish POSIXt and hms (or difftime) values.
The example below shows the new rendering:
|
|
Expect the printed output to continue to evolve in next release. Stay tuned for a new function that reconstructs tribble() calls from existing data frames.

