Merged
Conversation
Deprecate unused 'tiny', 'a4' and 'normal_169' chart types. Update tests to ensure they work given this change. Update grattan_label so it uses updated 'linewidth' parameter.
Previously save_chartdata threw a warning if select_data was TRUE and a column that was used in a layer wasn't found in the chart data. However, this occurs often when layers have their own data that isn't in the underlying ggplot dataframe. Instead, the function now checks only in layers that don't rely on their own dataframe.
Remove deprecated functions from codecov testing.
Introduces overleaf_utils.R with functions to set, get, and manage Overleaf project directories for chart export via Dropbox. Adds grattan_save_overleaf() to save charts directly to the selected Overleaf project's atlas folder, streamlining workflow for Overleaf-based report writing.
Fix error in directory handling for finding overleaf atlas
Remove grattan save test that created unnecessary 'test' folder.
Update fullslide pdf to better mimic our new Grattan slide templates.
Fixes issue with fullslide_narrow .pdf export, and updated function documentation to reflect updates.
Previously, fonts for powerpoint and slide exports did not match grattan style guide. This update allows for correct fonts to be registered upon package loading, and then used upon chart export.
By default, axes that start at zero will not show a '0' label, consistent with general Grattan style.
Update .gitignore and remove reference to %||% rlang operator.
Update font handling approach to ensure 'normal' font (sans default) is used for normal charts, and slides consistently use correct fonts where available. Update information provided on package loading re fonts and tidy up package loading message. Minor adjustment to create_fullslide positioning of the caption. Update tests and documentation in line with these changes.
Minor bug fixes and updates to news.md.
Remove some unnecessary dependencies.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
grattan_save_overleaffunction and associated utilities to identify and save charts to an Overleaf atlas.create_fullslidefunction to ensure .pdf outputs match Grattan's current powerpoint template.grattan_scalefunctions to by default hide the zero label if the axis starts at zero.