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

Create horizontal stacked bar charts plot without financial data #83

Merged
merged 20 commits into from
Feb 13, 2024

Conversation

lindadelacombaz
Copy link
Collaborator

@lindadelacombaz lindadelacombaz commented Jan 22, 2024

Closes #81.
Dear @maurolepore,
I have created a new function that revisits the previous bar plots, as horizontal stacked bar plots instead of the vertical ones.
I know that the xctr name is depreciated, but I am waiting for the "official" toy data set so I make a large refactoring in the tiltPlot package in a subsequent PR.

Thank you for your time ! :)


TODO

  • Link related issue/PR.
  • Describe the goal of the PR. Avoid details that are clear in the diff.
  • Mark the PR as draft.
  • Include a unit test.
  • Review your own PR in "Files changed".
  • Ensure the PR branch is updated.
  • Ensure the checks pass.
  • Change the status from draft to ready.
  • Polish the PR title and description.
  • Assign a reviewer.

EXCEPTIONS

  • Slide here any item that you intentionally choose to not do.

@lindadelacombaz lindadelacombaz marked this pull request as ready for review January 30, 2024 15:37
@lindadelacombaz lindadelacombaz changed the title Create horizontal stacked bar charts Create horizontal stacked bar charts plot without financial data Jan 30, 2024
Copy link
Contributor

@maurolepore maurolepore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @lindadelacombaz!

Here are some comments. The most important ones are:

  1. Avoid exporting a new function with a name that is already deprecated.
  2. Avoid breaking people's code -- either by ensuring this change is backward compatible or by communicating the break clearly.

R/bar_plot_xctr.R Outdated Show resolved Hide resolved
NAMESPACE Outdated Show resolved Hide resolved
R/utils-custom.R Show resolved Hide resolved
R/bar_plot_xctr.R Outdated Show resolved Hide resolved
R/bar_plot_xctr.R Outdated Show resolved Hide resolved
R/plot_xctr_old.R Outdated Show resolved Hide resolved
man/figures/README-unnamed-chunk-12-1.png Outdated Show resolved Hide resolved
Co-authored-by: Mauro Lepore <[email protected]>
@maurolepore maurolepore self-requested a review February 5, 2024 21:00
Copy link
Contributor

@maurolepore maurolepore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With the clarification I made I think you'll be able to make your own call and change whatever needs changing. So I approve in advance. But please don't hesitate to ask if you have more questions.

Note it would be best to first merge #79 so that the checks pass. Then merge anything else.

@@ -6,6 +6,7 @@ reference:

- title: Main functions
contents:
- starts_with("bar_")
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maurolepore Thanks for your answer! This effectively removed the failing check(). :)

@lindadelacombaz lindadelacombaz merged commit 93cf236 into main Feb 13, 2024
6 checks passed
@lindadelacombaz lindadelacombaz deleted the 81_stagger_plots branch February 13, 2024 15:31
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.

Change the bar chart plots in new staggered plots without financial data
2 participants