Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRAN version returns errors #15

Closed
ellisp opened this issue Oct 15, 2016 · 5 comments
Closed

CRAN version returns errors #15

ellisp opened this issue Oct 15, 2016 · 5 comments
Assignees
Labels

Comments

@ellisp
Copy link
Owner

ellisp commented Oct 15, 2016

for some reason the CRAN version isn't working, at least on one of my machines. Returns errors even when running the basic examples of stat_stl, stat_decomp, etc. Hopefully this is temporary. In the meantime, the github version (which is identical in theory) works fine.

@ellisp ellisp added the bug label Oct 15, 2016
@ellisp ellisp self-assigned this Oct 15, 2016
@ellisp
Copy link
Owner Author

ellisp commented Oct 15, 2016

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  

@ellisp
Copy link
Owner Author

ellisp commented Oct 15, 2016

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...

@stephlocke
Copy link

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!

@helske
Copy link

helske commented Oct 23, 2016

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 
>  

@ellisp
Copy link
Owner Author

ellisp commented Oct 26, 2016

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?

@ellisp ellisp closed this as completed Nov 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants