Last updated on 2024-05-27 02:47:55 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.1.3 | 6.97 | 58.54 | 65.51 | OK | |
r-devel-linux-x86_64-debian-gcc | 1.1.3 | 4.92 | 38.91 | 43.83 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.1.3 | 86.55 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.1.3 | 75.59 | OK | |||
r-devel-windows-x86_64 | 1.1.3 | 12.00 | 77.00 | 89.00 | OK | |
r-patched-linux-x86_64 | 1.1.3 | 9.37 | 55.50 | 64.87 | OK | |
r-release-linux-x86_64 | 1.1.3 | 5.83 | 54.81 | 60.64 | OK | |
r-release-macos-arm64 | 1.1.3 | 34.00 | OK | |||
r-release-windows-x86_64 | 1.1.3 | 13.00 | 78.00 | 91.00 | OK | |
r-oldrel-macos-arm64 | 1.1.3 | 35.00 | OK | |||
r-oldrel-macos-x86_64 | 1.1.3 | 73.00 | OK | |||
r-oldrel-windows-x86_64 | 1.1.3 | 15.00 | 85.00 | 100.00 | OK |
Version: 1.1.3
Check: examples
Result: ERROR
Running examples in ‘bench-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: autoplot.bench_mark
> ### Title: Autoplot method for bench_mark objects
> ### Aliases: autoplot.bench_mark plot.bench_mark
>
> ### ** Examples
>
> dat <- data.frame(x = runif(10000, 1, 1000), y=runif(10000, 1, 1000))
>
> res <- bench::mark(
+ dat[dat$x > 500, ],
+ dat[which(dat$x > 500), ],
+ subset(dat, x > 500))
>
> if (require(ggplot2) && require(tidyr) && require(ggbeeswarm)) {
+
+ # Beeswarm plot
+ autoplot(res)
+
+ # ridge (joyplot)
+ autoplot(res, "ridge")
+
+ # If you want to have the plots ordered by execution time you can do so by
+ # ordering factor levels in the expressions.
+ if (require(dplyr) && require(forcats)) {
+
+ res %>%
+ mutate(expression = forcats::fct_reorder(as.character(expression), min, .desc = TRUE)) %>%
+ as_bench_mark() %>%
+ autoplot("violin")
+ }
+ }
Loading required package: ggplot2
Loading required package: tidyr
Loading required package: ggbeeswarm
Error in `withCallingHandlers()`:
! In row 1, can't recycle input of size 389 to size 390.
Backtrace:
▆
1. ├─ggplot2::autoplot(res)
2. └─bench:::autoplot.bench_mark(res)
3. ├─tidyr::unnest(object, c(time, gc))
4. ├─bench:::unnest.bench_mark(object, c(time, gc))
5. │ └─base::suppressWarnings(NextMethod(.Generic, data, ...))
6. │ └─base::withCallingHandlers(...)
7. ├─base::NextMethod(.Generic, data, ...)
8. └─tidyr:::unnest.data.frame(object, c(time, gc))
9. └─tidyr::unchop(...)
10. └─tidyr:::df_unchop(...)
11. └─purrr::reduce(x_sizes, unchop_sizes2, error_call = error_call)
12. └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
13. └─tidyr (local) fn(out, elt, ...)
14. └─cli::cli_abort(...)
15. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc