Skip to content

Deprecated feature summarize_each() still in use #6869

Description

@jpmonteagudo28

The summarize_each( ) feature is still being used in dplyr even though it was deprecated in a previous version.

humanAR_df$activities <- factor(humanAR_df$activities, levels = activities[,1], labels = activities[,2])
humanAR_df <- humanAR_df %>% group_by(subject,activities) %>% summarize_each(mean)

## Warning message:
## `summarise_each_()` was deprecated in dplyr 0.7.0.
## ℹ Please use `across()` instead.
## ℹ The deprecated feature was likely used in the dplyr package.
## Please report the issue at <https://github.com/tidyverse/dplyr/issues>.
## This warning is displayed once every 8 hours.
## Call `lifecycle::last_lifecycle_warnings()` to see where this warning was
## generated. 

A warning message basically shows that across ( ) should be used instead of summarize_each( )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorlifecycle 🦋

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions