DOI-USGS / lake-temperature-model-prep

Pipeline #1
Other
6 stars 13 forks source link

Run down gdrive warning message #290

Closed padilla410 closed 2 years ago

padilla410 commented 2 years ago

You can generate the message by running scipiper::scmake("6_temp_coop_munge")

Warning message:
The `verbose` argument of `some_googledrive_function()` is deprecated as of googledrive 2.0.0.
Set `options(googledrive_quiet = TRUE)` to suppress all googledrive messages.
For finer control, use `local_drive_quiet()` or `with_drive_quiet()`.
googledrive's `verbose` argument will be removed in the future.
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.

Output from lifecycle::last_lifecycle_warnings():

> lifecycle::last_lifecycle_warnings()
[[1]]
<deprecated>
message: The `verbose` argument of `some_googledrive_function()` is deprecated as of googledrive 2.0.0.
Set `options(googledrive_quiet = TRUE)` to suppress all googledrive messages.
For finer control, use `local_drive_quiet()` or `with_drive_quiet()`.
googledrive's `verbose` argument will be removed in the future.
Backtrace:
  1. scipiper::scmake("6_temp_coop_fetch")
  3. remake::make(...)
  4. remake:::remake_make(obj, target_names)
  5. remake:::remake_make1(obj, target_names, ...)
  6. remake:::remake_update1(obj, plan, last_target_name, check = check)
  7. base::lapply(...)
  8. remake:::FUN(X[[i]], ...)
  9. remake:::remake_update2(obj, i, check = check, return_target = is_last)
 10. remake:::target_build(target, obj$store, obj$verbose$quiet_target)
 12. remake:::target_run(target, store, quiet)
 14. [ base::eval(...) ] with 1 more call
 16. scipiper::loop_tasks(task_plan = coop_wants_fetch_plan, task_makefile = "6_temp_coop_fetch_tasks.yml")
 21. scipiper::scmake(target, task_makefile, ind_ext = ind_ext, verbose = FALSE)
 23. remake::make(...)
 24. remake:::remake_make(obj, target_names)
 25. remake:::remake_make1(obj, target_names, ...)
 26. remake:::remake_update1(obj, plan, last_target_name, check = check)
 27. base::lapply(...)
 28. remake:::FUN(X[[i]], ...)
 29. remake:::remake_update2(obj, i, check = check, return_target = is_last)
 30. remake:::target_build(target, obj$store, obj$verbose$quiet_target)
 32. remake:::target_run(target, store, quiet)
 34. [ base::eval(...) ] with 1 more call
 36. scipiper::gd_confirm_posted(ind_file = "6_temp_coop_fetch/in/UniversityofMissouri_LimnoProfiles_2017_2020.zip.ind")
 37. scipiper:::gd_locate_file(data_file, config_file)
 43. googledrive::drive_ls(...)
 46. googledrive:::warn_for_verbose(verbose)

It's likely this line

jordansread commented 2 years ago

I think you are right on tracking down the scipiper line, but perhaps we should move this issue over to that repo? You should still tackle it if you are game :)

padilla410 commented 2 years ago

migrated over to the scipiper repo (issue #156)