You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(highcharter)
hchart(cars, type = "line", hcaes_string(x = "speed", y = "dist"))
The above example works fine. However, if certain packages are loaded prior to highcharter, the code breaks down and no longer works. I have so far discovered this to be the case with forecast and ggplot2. Weirdly enough, the error displayed is
Error in `dplyr::mutate()`:
! Problem while computing `x = ~speed`.
x `x` must be a vector, not a `formula` object.
...while dplyr hasn't been loaded (but I have it installed in the package library). This must be because popular packages have many dependencies, and those dependencies have their own dependencies and so on, so not sure how easy the problem is to pin-point and fix. However, it only affects hcaes_string(). The version with normal hcaes() works fine without any conflicts.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Feel free to reopen it if you find it necessary.
Using the minimal example, in a fresh R session:
The above example works fine. However, if certain packages are loaded prior to
highcharter
, the code breaks down and no longer works. I have so far discovered this to be the case withforecast
andggplot2
. Weirdly enough, the error displayed is...while
dplyr
hasn't been loaded (but I have it installed in the package library). This must be because popular packages have many dependencies, and those dependencies have their own dependencies and so on, so not sure how easy the problem is to pin-point and fix. However, it only affectshcaes_string()
. The version with normalhcaes()
works fine without any conflicts.The text was updated successfully, but these errors were encountered: