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
I'm using ftable to render a 3d array, but when I pass the output of ftable to kbl, I get an error about bad arguments to an internal sprintf function.
To Reproduce
kableExtra::kbl(ftable(array(runif(50), c(5, 2, 5))))
#> Error in sprintf(" <td%s> %s </td>", align, z): arguments cannot be recycled to the same length
I think kable and functions in this package only addresses 2d array. In my impression, this is probably true for most table generation packages. It probably makes more sense to use some plotting methods to complete this task.
Sorry, I should have thought about it more carefully before throwing out comments. This feature is possible. Let me see what can be done here
Describe the bug
I'm using
ftable
to render a 3d array, but when I pass the output offtable
tokbl
, I get an error about bad arguments to an internalsprintf
function.To Reproduce
Created on 2024-05-31 with reprex v2.1.0
The text was updated successfully, but these errors were encountered: