You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dplyr no longer uses mutate_at(vars(...), funs(...)) syntax, which is used in the custom_R_code from Dwyer_2017. Results in a warning, which will shortly elevate to failure as
options(warn=2)
remake::make("Dwyer_2017")
[ BUILD ] Dwyer_2017 | Dwyer_2017 <- dataset_process("data/Dwyer_2017/data.csv", Dwyer_2017_con...
Error: (converted from warning) `funs()` was deprecated in 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))
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated
Looking ay the custom_R_code for Dwyer_2017 we have
dplyr no longer uses
mutate_at(vars(...), funs(...))
syntax, which is used in the custom_R_code from Dwyer_2017. Results in a warning, which will shortly elevate to failure asLooking ay the
custom_R_code
for Dwyer_2017 we haveNote the custom function has now been formalised as a function
replace_duplicates_with_NA
So the line
can be modified as
The text was updated successfully, but these errors were encountered: