Open cderv opened 2 years ago
Currently, cloud_status() will report elapsed time by comparing created time and current time when the function is ran / called https://github.com/r-lib/revdepcheck/blob/508e5356ec67d33d1402ae116e03164ce379ebd8/R/cloud.R#L37-L38
cloud_status()
When the jobs are done, ETA is passed to done, but the finished time is not used. The new API allow to have this information https://github.com/rstudio/revdepcheck-cloud#monitor-your-job
finished
finished_timestamp
I think this value could be used to get in cloud_status() the correct elapsed time.
Currently,
cloud_status()
will report elapsed time by comparing created time and current time when the function is ran / called https://github.com/r-lib/revdepcheck/blob/508e5356ec67d33d1402ae116e03164ce379ebd8/R/cloud.R#L37-L38When the jobs are done, ETA is passed to done, but the finished time is not used. The new API allow to have this information https://github.com/rstudio/revdepcheck-cloud#monitor-your-job
finished
finished_timestamp
field will have a value.I think this value could be used to get in
cloud_status()
the correct elapsed time.