You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2022. It is now read-only.
smwrQW::View interacts poorly with tibbles. I believe this is mainly because of the format call within smwrQW::View, which produces a vector that's the same size as a data.frame for base data.frames but differently sized from the original data.frame for tibbles.
For small data.frames, View merges all columns into one:
For large data.frames, when the columns extend beyond some standard width and there are at least two rows, View gives an error:
long<-"this is a very very very long column entry"B<-tibble::tibble(x=rep(long, 2), y=long, z=long, a=long, b=long, c=long)
View(B)
## Error in View : 'names' attribute [2] must be the same length as the vector [1]
smwrQW::Viewinteracts poorly with tibbles. I believe this is mainly because of theformatcall withinsmwrQW::View, which produces a vector that's the same size as a data.frame for base data.frames but differently sized from the original data.frame for tibbles.For small data.frames,
Viewmerges all columns into one:For large data.frames, when the columns extend beyond some standard width and there are at least two rows,
Viewgives an error:This issue emerged from DOI-USGS/loadflex#218 (comment)