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

Minor issue, fix warning, use tibble::as_tibble #27

Open
zx8754 opened this issue Oct 28, 2021 · 1 comment
Open

Minor issue, fix warning, use tibble::as_tibble #27

zx8754 opened this issue Oct 28, 2021 · 1 comment

Comments

@zx8754
Copy link

zx8754 commented Oct 28, 2021

To avoid warning as tbl_df is depricated, use as_tibble:

# R version 4.0.2 (2020-06-22), wakefield_0.3.6

r_data_frame(n = 5, dob)
# # A tibble: 5 x 1
#   DOB       
#   <date>    
# 1 2008-05-15
# 2 2007-03-23
# 3 2008-04-27
# 4 2008-01-21
# 5 2007-09-19
# Warning message:
# `tbl_df()` was deprecated in dplyr 1.0.0.
# Please use `tibble::as_tibble()` instead.
@trinker
Copy link
Owner

trinker commented Oct 31, 2021

Thanks for the report. I'll update soon.

hadley added a commit to hadley/wakefield that referenced this issue Oct 3, 2022
ggplot2 and dplyr are mostly only used by examples. Instead of `dplyr::tbl_df()` use `tibble::as_tibble()`. Fixes trinker#27
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

No branches or pull requests

2 participants