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

new stack_events function + tests #144

Merged
merged 2 commits into from
Jun 16, 2023
Merged

new stack_events function + tests #144

merged 2 commits into from
Jun 16, 2023

Conversation

jwildfire
Copy link
Contributor

Adds new dynamic function for stacking event data per #138

@jwildfire jwildfire self-assigned this May 26, 2023
@jwildfire jwildfire requested a review from sjlussier May 26, 2023 17:30
Copy link
Contributor

@nandriychuk nandriychuk left a comment

Choose a reason for hiding this comment

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

Added one comment for consideration, otherwise looks good!

R/stack_events.R Outdated
# make a details object with all other columns in settings
cols<-as.character(settings)
details <- data %>%
select(cols) %>%
Copy link
Contributor

Choose a reason for hiding this comment

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

It might be a good idea to use select(all_of(cols_aes)) to account for the tidyselect 1.1.0 changes:
Warning message:
Using an external vector in selections was deprecated in tidyselect 1.1.0.
i Please use all_of() or any_of() instead.
Was:
data %>% select(cols)
Now:
data %>% select(all_of(cols))

@jwildfire jwildfire merged commit cb2bb82 into dev Jun 16, 2023
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.

2 participants