Closed rchemist0123 closed 1 year ago
Your code works fine for me on Linux. After you get the error, can you run traceback()
please and post the output here?
@larskotthoff Sure, here's the output.
13: format.R6(x, ...)
12: format(x, ...)
11: format_list_item.default(X[[i]], ...)
10: FUN(X[[i]], ...)
9: vapply(X = x, FUN = fun, ..., FUN.VALUE = NA_character_, USE.NAMES = use.names)
8: vapply_1c(x, format_list_item, ...)
7: format_col.default(X[[i]], ...)
6: FUN(X[[i]], ...)
5: lapply(x, format_col, ..., justify = justify)
4: do.call("cbind", lapply(x, format_col, ..., justify = justify))
3: format.data.table(toprint, na.encode = FALSE, timezone = timezone,
...)
2: print.data.table(x)
1: (function (x, ...)
UseMethod("print"))(x)
Looks like a bug in data.table
. Are you running the latest version?
Looks like a bug in
data.table
. Are you running the latest version?
Probably due to the version of data.table
. I have used version 1.14.9 (in development). After I download the released version (data.table
1.14.8) and run my code, it works fine.
Great, thanks for checking! I'll close here.
Description
I'm trying to use
benchmark_grid()
in quarto.The problem is that
benchmark_grid()
function doesn't work, with an error message, in Linux OS.The weird thing is that the code above works in chunks in
.qmd
or Window OS. It's not working in the RStudio console and Rscripts on Linux OS.I would very appreciated if you help me handle this error. Thanks in advance.
My
sessionInfo()
is like below.Reproducible example
Created on 2023-02-21 with reprex v2.0.2