Coder Social home page Coder Social logo

New ggplot broke ggseas? about ggseas HOT 5 CLOSED

ellisp avatar ellisp commented on July 23, 2024
New ggplot broke ggseas?

from ggseas.

Comments (5)

ellisp avatar ellisp commented on July 23, 2024

I wondered if this would happen, but it's working ok with me. Maybe try re-installing ggseas again from CRAN:

install.packages("ggseas")
example(stat_stl)

If it still happens after that could you paste the output of sessionInfo() into a comment on this issue?

from ggseas.

Rmadillo avatar Rmadillo commented on July 23, 2024

Yep, tried reinstall, same problem:

> library(ggseas)
> example("stat_stl")

stt_st> ap_df <- tsdf(AirPassengers)

stt_st> # periodic if fixed seasonality; doesn't work well:
stt_st> ggplot(ap_df, aes(x = x, y = y)) +
stt_st+    stat_stl(s.window = "periodic")
Error: StatSTL was built with an incompatible version of ggproto.
Please reinstall the package that provides this extension.

Here's the sessioninfo:

R version 3.3.2 (2016-10-31)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X Yosemite 10.10.5

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
 [1] car_2.1-3          fitdistrplus_1.0-7 survival_2.40-1    MASS_7.3-45        gridExtra_2.2.1   
 [6] ggExtra_0.6        knitr_1.15         bookdown_0.2       qicharts_0.5.1     ggseas_0.5.1      
[11] ggplot2_2.2.0      seasonal_1.3.0     forecast_7.3       timeDate_3012.100  zoo_1.7-13        
[16] lubridate_1.6.0    scales_0.4.1       dplyr_0.5.0       

loaded via a namespace (and not attached):
 [1] ggrepel_0.6.3       Rcpp_0.12.8         locfit_1.5-9.1      lattice_0.20-34     assertthat_0.1     
 [6] digest_0.6.10       mime_0.5            R6_2.2.0            plyr_1.8.4          MatrixModels_0.4-1 
[11] trend_0.2.0         evaluate_0.10       lazyeval_0.2.0      minqa_1.2.4         x13binary_0.1.2    
[16] SparseM_1.74        miniUI_0.1.1        fracdiff_1.4-2      nloptr_1.0.4        Matrix_1.2-7.1     
[21] rmarkdown_1.1       labeling_0.3        splines_3.3.2       lme4_1.1-12         stringr_1.1.0      
[26] munsell_0.4.3       shiny_0.14.2        httpuv_1.3.3        mgcv_1.8-16         htmltools_0.3.5    
[31] nnet_7.3-12         tibble_1.2          quadprog_1.5-5      leaps_2.9           grid_3.3.2         
[36] nlme_3.1-128        xtable_1.8-2        gtable_0.2.0        DBI_0.5-1           magrittr_1.5       
[41] stringi_1.1.2       tseries_0.10-35     TSA_1.01            latticeExtra_0.6-28 RColorBrewer_1.1-2 
[46] tools_3.3.2         parallel_3.3.2      pbkrtest_0.4-6      yaml_2.1.14         colorspace_1.3-1   
[51] quantreg_5.29   

from ggseas.

ellisp avatar ellisp commented on July 23, 2024

OK, sorry about this, I don't know what the problem is. I just did clean installs of ggplot2 and ggseas on both Windows and Ubuntu and both are fine. I don't have access to a Mac but will ask a friend, in case that's it. It did work before, right?

I don't really have any advice, other than to try reinstalling ggplot2 as well (can't see how that would help seeing as that must have been your starting point that caused the problem...), or maybe trying the devtools::install_github("ellisp/ggseas/pkg") approach (ditto but maybe worth a try).

from ggseas.

Rmadillo avatar Rmadillo commented on July 23, 2024

Ah ha! It was ggplot, see the tidyverse NEWS.

So I just reinstalled everything gg-. Some I did from Github (including yours) based on what I found here and some I did from CRAN.

Now it works.

from ggseas.

Rmadillo avatar Rmadillo commented on July 23, 2024

Thanks for trying on your end, too!

from ggseas.

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.