Comments (8)
What's the purpose of the package? I haven't gone through the roxy-docs for the package yet, what's the purpose for tibble
? (I don't mind contributing to the package, but the description is a little brief.)
from tibble.
Eventually, dplyr will import from tibble. This package extracts the functionality around tbl_df from dplyr to make it available for other packages such as tidyr and readr, see also https://github.com/krlmlr/tibble/releases/tag/v0.1 and tidyverse/dplyr#1488.
from tibble.
Perfect, I understand. Hadley was going to mull over the "if" and "where" of the suggested patch (from hadley/dplyr#1587). Did you have any thoughts on it? I'll be happy to create the PR for it.
from tibble.
How about fix_names() or even repair_names()? I think that for any data frame where tbl_df() raises an error, repair_names() %>% tbl_df() should just work -- this is what also should be tested in the unit tests. Data frames for which tbl_df() already works should not be touched.
We can work on this together and discuss the results with Hadley.
from tibble.
@r2evans: Are you still interested in contributing? This could be useful for as_data_frame.matrix():
> dplyr::as_data_frame(diag(3))
Source: local data frame [3 x 3]
NA NA NA
(dbl) (dbl) (dbl)
1 1 0 0
2 0 1 0
3 0 0 1
from tibble.
Yes, thanks for the poke. This is a good test case, too.
from tibble.
Seems like this is done, but see #47
from tibble.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
from tibble.
Related Issues (20)
- Error vectbl_assign: DLL requires the use of native symbols HOT 1
- Tibble printing rounding issue HOT 2
- [Accessibility issue] alt text for DiagrammeR::mermaid()
- tibble() behaves oddly with classed list columns
- `match(<num>, <num>)` fails on R 4.3.0.
- add_case/add_row silently converts factors to strings
- FR: Show column types like readr in the footer
- Feature request: Suppress message of new names being created in `tibble()` HOT 4
- YAML headers in Tibble
- Tweak the view function
- Calling tibble::rowid_to_column on an object of class "sf" before dplyr::rename will cause " internal error: can't find agr columns" HOT 5
- difference result between data.frame() with tibble()
- `as_tibble.data.table()` method? HOT 3
- Could `as_tibble.data.frame()` be stricter? HOT 2
- Error in stopifnot(is.character(filename), length(filename) == 1L) : reached elapsed time limit HOT 3
- Tibble creation not inputting (or displaying) correct values HOT 2
- create tibble with numeric(0) doesn't give same result as NULL column HOT 1
- Warn with `drop = TRUE` ?
- Weird row names inconsistency HOT 1
- Negative values after "num()" turned into a strange code, like "\033[31m0\033[39m\033[31m.\033......" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tibble.