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

Implement facet_wrap_paginate() wrapper and n_pages() fix #91

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

broomej
Copy link

@broomej broomej commented Feb 21, 2018

This addresses #81 and #84. gen_all_pages_fwp() returns a list where each element is a page generated by facet_wrap_paginate(). It relies on n_pages(), so I included the fix suggested by @guiastrennec. Additionally, the package wasn't passing devtools::check() because of a feature added which relies on ggplot2::scale_type(), which wasn't available until ggplot2 v2.2.1.9000, so I increased the version dependency in DESCRIPTION

Add a convenient wrapper which calculates the number of pages necessary
for facet_wrap_paginate and generates all of the pages. Documentation
not roxygenized yet.
Fix as suggested by @guiastrennec in issue thomasp85#84
ggforce wasn't passing devtools::check because ggplot2::scale_type()
wasn't exported until v2.2.1.9000
@broomej broomej changed the title Implement facet_wrap_paginate wrapper and n_pages() fix Implement facet_wrap_paginate() wrapper and n_pages() fix Feb 21, 2018
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

Successfully merging this pull request may close these issues.

1 participant