'length(x) = 2 > 1' in coercion to 'logical(1)' - R version 4.3.0
As per https://cran.r-project.org/doc/manuals/r-devel/NEWS.html, using || in if statements is no longer safe in R 4.3.0.
For that reason, something like tibble(Column = rep(as.POSIXct('2023-01-01'), 3)) %>% e_chart(Column) will throw out an error.
Thanks for flagging this. This should be fixed.
Thanks!
Still happpens when using timeline, unfortunately. For example:
tibble(
Column = rep(as.POSIXct('2023-01-01'), 3),
Letter = LETTERS[1:3]
) %>%
group_by(Letter) %>%
e_chart(Column, timeline = TRUE)
Sorry. Should be good now.
Perfect! Thank you.
John, it still happens with e_charts_, for me. Example:
tibble(
Column = rep(as.POSIXct('2023-01-01'), 3),
Letter = LETTERS[1:3]
) %>%
group_by(Letter) %>%
e_charts_('Column', timeline = TRUE)
This throws out
Error in cl == "character" || cl == "factor" :
'length = 2' in coercion to 'logical(1)'
With e_charts, it's all fine.