Closed cpsievert closed 3 years ago
This is due to some weird interaction between hms
and cli
, here's a reprex:
library(hms)
library(cli)
foo <- as_hms(200)
cli_status_update("foo", "bar")
cli_status_clear("foo", result = "done", msg_done = "{foo}")
#> Error in vec_data(x) * TICS_PER_SECOND :
#> non-numeric argument to binary operator
Fixed by installing dev version of cli (r-lib/cli#269)
Filing this so I don't forget (will investigate later)