Giter Site home page Giter Site logo

Comments (9)

lionel- avatar lionel- commented on August 16, 2024 2

@jtr13 I think this will be fixed if you install dev ggvis from github.

from ggvis.

wch avatar wch commented on August 16, 2024 1

Hi, we'll try to do a release in the next couple of weeks.

from ggvis.

carmemias avatar carmemias commented on August 16, 2024 1

That's brilliant, thanks!

from ggvis.

wch avatar wch commented on August 16, 2024 1

ggvis is on its way to CRAN now.

from ggvis.

carmemias avatar carmemias commented on August 16, 2024

Same problem here. This is the calls thread I get:

lifecycle::last_warnings()
[[1]]
<deprecated>
message: `group_by_()` is deprecated as of dplyr 0.7.0.
Please use `group_by()` instead.
See vignette('programming') for more help
This warning is displayed once every 8 hours.
Call `lifecycle::last_warnings()` to see where this warning was generated.
backtrace:
  1. (function (x, ...) ...
  2. ggvis:::print.ggvis(x)
  3. ggvis::view_static(x, ...)
  5. ggvis:::as.vega.ggvis(x, dynamic = FALSE)
  6. ggvis::layer_guess(x)
  7. ggvis:::f(vis, ...)
  8. ggvis::layer_f(...)
  9. ggvis:::fun(vis)
 11. ggvis:::compute_stack.ggvis(v, stack_var = ~count_, group_var = ~x_)
 12. ggvis:::register_computation(...)
 13. ggvis:::transform(parent_data(), args)
 18. ggvis:::compute_stack.data.frame(data, stack_var = ~count_, group_var = ~x_)
 19. dplyr::group_by_(x, group__ = gvar)
 20. dplyr:::lazy_deprec("group_by")

Warning seems to be triggered in ggvis:::compute_stack.data.frame(data, stack_var = ~count_, group_var = ~x_)

from ggvis.

carmemias avatar carmemias commented on August 16, 2024

In my case the ggvis graph got fixed after updating tibble to version 3.0.3, as indicated here: tidyverse/tibble#798
It may help in your case as well @lhocke

The warnings were not related to the actual problem, afterall.

from ggvis.

jtr13 avatar jtr13 commented on August 16, 2024

I updated tibble and still having problems with histograms. The sample code
mtcars %>% ggvis(~mpg) %>% layer_histograms()
produces a blank plot.
image

from ggvis.

jtr13 avatar jtr13 commented on August 16, 2024

Perfect, that worked, thanks!

from ggvis.

carmemias avatar carmemias commented on August 16, 2024

Sorry, I also had installed an older version of dplyr (0.5.0). That was probably what made the difference.

It's great to have a fix in github. Is there a date for when it may be pushed to CRAN? Thanks.

from ggvis.

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.