Skip to content

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

Open
broomej wants to merge 9 commits intothomasp85:mainfrom
broomej:master
Open

Implement facet_wrap_paginate() wrapper and n_pages() fix#91
broomej wants to merge 9 commits intothomasp85:mainfrom
broomej:master

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