Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in repr for a tbl_df #70

Open
jankatins opened this issue Jun 19, 2016 · 3 comments
Open

error in repr for a tbl_df #70

jankatins opened this issue Jun 19, 2016 · 3 comments

Comments

@jankatins
Copy link
Contributor

library("dplyr")
library("tibble")
library("jsonlite")
download.file("http://jsonstudio.com/wp-content/uploads/2014/02/world_bank.zip", "world_bank.zip")
world_bank <- jsonlite::stream_in(unz("world_bank.zip", "world_bank.json"))
world_bank <- as_data_frame(world_bank)
world_bank

results in this:

Error in rbind(deparse.level, ...): replacement has length zero
Traceback:

1. prepare_mimebundle(obj, .self$handle_display_error)
2. repr_text(obj)
3. repr_text.data.frame(obj)   # at line 29 of file C:/data/external/R/repr/R/generics.r
4. ellip.limit.arr(obj)   # at line 224 of file C:/data/external/R/repr/R/repr_matrix_df.r
5. rbind(cbind(a[top, left], ehf, a[top, right], deparse.level = 0), 
 .     ellip.limit.vec(rep(ellip.v, ncol(a)), cols, ellip.d), cbind(a[bottom, 
 .         left], ehf, a[bottom, right], deparse.level = 0), deparse.level = 0)   # at line 104-108 of file C:/data/external/R/repr/R/repr_matrix_df.r
6. rbind(deparse.level, ...)
@jankatins
Copy link
Contributor Author

BTW: wow, how does it know where the source for my repr package is located?

@jankatins
Copy link
Contributor Author

jankatins commented Jun 19, 2016

I also reported that in tibble: tidyverse/tibble#103

@flying-sheep
Copy link
Member

BTW: wow, how does it know where the source for my repr package is located?

because you installed it from there using --with-keep.source (or RStudio did)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants