Coder Social home page Coder Social logo

CRAN version returns errors about ggseas HOT 5 CLOSED

ellisp avatar ellisp commented on July 3, 2024
CRAN version returns errors

from ggseas.

Comments (5)

ellisp avatar ellisp commented on July 3, 2024

Only on Windows. My linux box installed from CRAN today (0.5.1) and works fine. Windows gives

Error in as.vector(y) : attempt to apply non-function
> sessionInfo()
R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 14393)

locale:
[1] LC_COLLATE=English_New Zealand.1252  LC_CTYPE=English_New Zealand.1252   
[3] LC_MONETARY=English_New Zealand.1252 LC_NUMERIC=C                        
[5] LC_TIME=English_New Zealand.1252    

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

other attached packages:
[1] ggseas_0.5.1       zoo_1.7-13         ggplot2_2.1.0.9001 seasonal_1.3.0    

loaded via a namespace (and not attached):
 [1] colorspace_1.2-7  scales_0.4.0.9003 x13binary_0.1.2   assertthat_0.1   
 [5] lazyeval_0.2.0    plyr_1.8.4        tools_3.3.1       gtable_0.2.0     
 [9] tibble_1.2        Rcpp_0.12.7       grid_3.3.1        munsell_0.4.3    
[13] lattice_0.20-34  

from ggseas.

ellisp avatar ellisp commented on July 3, 2024

Further pinning down - this is only in the built version of windows on CRAN. If I build it locally:

install_cran("ggseas", type = "source", force = TRUE)
library(ggseas)
example(stat_stl)

it works fine. Unfortunately this makes it almost impossible to debug...

from ggseas.

stephlocke avatar stephlocke commented on July 3, 2024

Getting this issue too (on Windows from CRAN). Will install from github and see if I can find someone who knows their way around Windows pkg builds to assist!

from ggseas.

helske avatar helske commented on July 3, 2024

Just installed from CRAN, and example(stat_stl) works without errors for me.


R version 3.3.1 (2016-06-21)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

locale:
[1] LC_COLLATE=Finnish_Finland.1252  LC_CTYPE=Finnish_Finland.1252    LC_MONETARY=Finnish_Finland.1252
[4] LC_NUMERIC=C                     LC_TIME=Finnish_Finland.1252    

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

other attached packages:
[1] ggseas_0.5.1   zoo_1.7-13     ggplot2_2.1.0  seasonal_1.3.0

loaded via a namespace (and not attached):
 [1] labeling_0.3     colorspace_1.2-6 scales_0.4.0     x13binary_0.1.2  plyr_1.8.4       tools_3.3.1     
 [7] gtable_0.2.0     Rcpp_0.12.7      grid_3.3.1       digest_0.6.10    munsell_0.4.3    lattice_0.20-33 
>  

from ggseas.

ellisp avatar ellisp commented on July 3, 2024

The problem seems to happen when the development version of ggplot2_2.1.0.9001 is installed. By reverting to the CRAN version of ggplot2, the CRAN version of ggseas works. So long as the version of ggplot2 is the same as what was used to build ggseas it works - so if one comes from CRAN, they both need to. Thanks to @helske whose post of sessionInfo pointed me in the right direction. @stephlocke were you able to get it working?

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.