Giter VIP home page Giter VIP logo

Comments (6)

olivroy avatar olivroy commented on June 2, 2024 1

This is due to ggplot2 3.4.0 https://ggplot2.tidyverse.org/news/index.html?q=dropped_aes#new-features-3-4-0

They added dropped_aes.

I don't know ggproto much. tidyverse/ggplot2#5185 but here is how they fixed it for geom_smooth()

from tidyquant.

FeyyM avatar FeyyM commented on June 2, 2024

I experience the very same problem, not only with geom_chart, but also with geom_bar. The irony is that the most basic examples from the tutorial does not show up coerrectly .

Error reported by ggplot:

Error in geom_candlestick():
! Problem while computing stat.
i Error occurred in the 1st layer.
Caused by error:
! (converted from warning) Computation failed in stat_linerange_bc()
Caused by error:
! (converted from warning) The following aesthetics were dropped during statistical transformation:
open, high, low, close, y
i This can happen when ggplot fails to infer the correct grouping structure
in the data.
i Did you forget to specify a group aesthetic or to convert a numerical
variable into a factor?

from tidyquant.

j-craggy avatar j-craggy commented on June 2, 2024

@mdancho84 probably wants a PR done but I don't know how. I guess the package is broken forever.

from tidyquant.

mdancho84 avatar mdancho84 commented on June 2, 2024

This is fixed now. Thanks @olivroy

from tidyquant.

olivroy avatar olivroy commented on June 2, 2024

Still an issue, I was wondering if you were able to provide guidance for thst @mdancho84

from tidyquant.

mdancho84 avatar mdancho84 commented on June 2, 2024

Will need to investigate. Low priority for me at the moment.

from tidyquant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.