-
Notifications
You must be signed in to change notification settings - Fork 2.1k
dir = "v" also needs to swap nrow and ncol #1279
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
Comments
There's a bug here that is not apparent unless you use an nrow other than what it defaults to when NULL. For example, try:
The problem is that the swap code always results in nrow and ncol being equal or both being NULL, depending on which argument is defined:
You'll have to create a dummy variable to swap them, e.g.:
|
I wasn't as specific about the diagnosis of the bug as I could have been. When you run:
you should get a figure with 2 rows. Instead the figure has 3 rows. Inspecting the plot shows that nrow and ncol both have a value of NULL. Likewise when you run
both nrow and ncol are 2 when it should be nrow == 2 and ncol == NULL. |
Can you please file a new bug? |
I filed a new bug: #1417 |
The text was updated successfully, but these errors were encountered: