This used to work
microbenchmark::microbenchmark(TRUE, FALSE, unit = "relative")
but in version 1.4.9 (and maybe the previous version) it errors with:
Error in match.arg(unit, values) :
'arg' should be one of “nanoseconds”, “ns”, “microseconds”, “us”, “milliseconds”, “ms”, “seconds”, “s”, “secs”, “time”, “t”, “frequency”, “f”, “hz”, “khz”, “mhz”, “eps”
Could #20 and the associated commit 6533560 be the culprit?
Passing unit = "relative" directly to summary still works.
mb <- microbenchmark::microbenchmark(TRUE, FALSE)
summary(mb, unit = "relative")
This used to work
microbenchmark::microbenchmark(TRUE, FALSE, unit = "relative")but in version 1.4.9 (and maybe the previous version) it errors with:
Could #20 and the associated commit 6533560 be the culprit?
Passing
unit = "relative"directly to summary still works.