Huh / collar

Utilities for exploring telemetry data
Other
6 stars 9 forks source link

Error in fetch_ats function #53

Closed foresthayes closed 4 years ago

foresthayes commented 5 years ago

fetch_ats function returns the following error:

Error: nm must be NULL or a character vector the same length as x

I think this may be related to the rename section (line 80) but I am not positive.

out <- httr::content(dat_dwnld$response, type = "text/csv") %>% dplyr::rename_all(list(~ rename_fun))

Huh commented 4 years ago

This is now fixed. The error was due to a syntax change on the tidyverse side...

rename_all(list(~ some_fun)) # is now
rename_all(some_fun)