influxdbr icon indicating copy to clipboard operation
influxdbr copied to clipboard

dplyr function `funs()` is depreceated

Open joundso opened this issue 3 years ago • 0 comments

Unfortunately, I cannot rule out the possibility that this is a mistake on my part. When I use influxdbr (more precisely the influxdbr::influx_write(...) function) in a Shiny app, the transfer works, but the following warning is thrown:

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_warnings()` to see where this warning was generated.

When I manually (not throug the shiny app but normally through the console) establish the connection and send data to InfluxDB using influxdbr::influx_write(...), the warning strangely does not appear in the console.

joundso avatar May 31 '21 09:05 joundso