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

Waffle generates an error when more than 8 categories are supplied #83

Open
pumphandle opened this issue Sep 24, 2021 · 0 comments
Open

Comments

@pumphandle
Copy link

Earlier this week I had a class of 30 students generate a waffle chart as part of a homework assignment using the waffle package. None reported any issues.

In making the answer key, I found that it is no longer working (also confirmed by a delinquent student), making me think this is a brand-new issue.

In the minimal example below, only the first works - there seems to be a cap of 8 categories, unless colors are specified as in the 4th case.

library(waffle)

parts <- c(1:8)
waffle(parts, rows=8)

parts <- c(1:9)
waffle(parts, rows=8)

parts <- c(1:10)
waffle(parts, rows=8)

parts <- c(1:10)
waffle(parts, rows=8, colors=c(1:10))
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

1 participant