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

'as.tbl_cube' is missing a dispatch for matrix #359

Merged
merged 1 commit into from
Apr 15, 2014
Merged

'as.tbl_cube' is missing a dispatch for matrix #359

merged 1 commit into from
Apr 15, 2014

Conversation

paulstaab
Copy link
Contributor

At the moment, as.tbl_cube() has no dispatch for matrix, which makes it inapplicable for matrices/two dimensional arrays:

m <- array(1, c(3, 3), list(x=1:3, y=1:3))
as.tbl_cube(m)
# Error in UseMethod("as.tbl_cube") :   
# no applicable method for 'as.tbl_cube' applied to an object of class "c('matrix', 'double', 'numeric')

hadley added a commit that referenced this pull request Apr 15, 2014
'as.tbl_cube' is missing a dispatch for matrix
@hadley hadley merged commit 0e2516a into tidyverse:master Apr 15, 2014
krlmlr pushed a commit to krlmlr/dplyr that referenced this pull request Mar 2, 2016
'as.tbl_cube' is missing a dispatch for matrix
@lock
Copy link

lock bot commented Jan 19, 2019

This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/

@lock lock bot locked and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants