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

Label scenario #476

Merged
merged 6 commits into from Apr 28, 2022
Merged

Label scenario #476

merged 6 commits into from Apr 28, 2022

Conversation

MonikaFu
Copy link
Collaborator

Closes #230

In this PR I change the labelling functions so that the scenario name is part of qplot_techmix() label.

@MonikaFu MonikaFu changed the title 230 spell out scenario Label scenario Apr 28, 2022
@MonikaFu MonikaFu self-assigned this Apr 28, 2022
@@ -6,5 +6,6 @@
## usethis namespace: start
#' @importFrom dplyr n
#' @importFrom scales percent
#' @importFrom stringr str_count
Copy link
Member

Choose a reason for hiding this comment

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

I would tend to prefer calling stringr::str_count so it's explicit where the stringr dependency is?

Copy link
Member

Choose a reason for hiding this comment

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

Ah it looks like you do anyways. So you can probably remove this line

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think that if I remove this line then the checks will not pass?

Copy link
Member

@jdhoffa jdhoffa left a comment

Choose a reason for hiding this comment

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

Super minor comment, but lgtm

@MonikaFu MonikaFu merged commit 5cea57d into develop Apr 28, 2022
@MonikaFu MonikaFu deleted the 230-spell-out-scenario branch April 28, 2022 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In plot_techmix*() we don't konw which scenario we are plotting.
2 participants