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

Address some deprecating in code #10

Closed
laninsky opened this issue Jun 5, 2020 · 1 comment
Closed

Address some deprecating in code #10

laninsky opened this issue Jun 5, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@laninsky
Copy link
Owner

laninsky commented Jun 5, 2020

Warning message:
funs() is soft deprecated as of dplyr 0.8.0
Please use a list of either functions or lambdas: 

  # Simple named list: 
  list(mean = mean, median = median)

  # Auto named with `tibble::lst()`: 
  tibble::lst(mean, median)

  # Using lambdas
  list(~ mean(., trim = .2), ~ median(., na.rm = TRUE))
Note: Using an external vector in selections is ambiguous.
ℹ Use `all_of(origcolnumber)` instead of `origcolnumber` to silence this message.
ℹ See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>.
This message is displayed once per session.
@laninsky laninsky added the enhancement New feature or request label Jun 5, 2020
@laninsky
Copy link
Owner Author

Addressed the first issue. The second one isn't a problem - origcolnumber is a single number, not vector of numbers, so no ambiguity in selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant