JoGall / soccermatics

Tools for visualisation and analysis of soccer tracking and event data
311 stars 36 forks source link

Problem Installing #17

Closed arsc99 closed 5 years ago

arsc99 commented 5 years ago

devtools::install_github("jogall/soccermatics") Error in read.dcf(path) : Found continuation line starting ' 'soccerFlipDirec ...' at begin of record.

JoGall commented 5 years ago

I've pushed some changes -- can you try installing again please?

arsc99 commented 5 years ago

Still has the same problem...

JoGall commented 5 years ago

Sorry but can you try one more time?

If it's still throwing an error, can you please give me your OS and R version.

arsc99 commented 5 years ago

Thank you for your help! Now it has a different problem...

Error in i.p(...) : (converted from warning) installation of package ‘C:/Users/Trabalho/AppData/Local/Temp/Rtmp8W3s1A/filed787b814da6/soccermatics_0.9.3.tar.gz’ had non-zero exit status

I'm using R 3.5.1 on Windows

JoGall commented 5 years ago

Can you try using devtools::install_github("jogall/soccermatics") instead of the tarball?

arsc99 commented 5 years ago

I've tried it, but for some reason, it doesn't work... Everything works out fine, but in the end, it has an error

installing source package 'soccermatics' ... R data * moving datasets to lazyload DB byte-compile and prepare package for lazy loading Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called 'cowplot' ERROR: lazy loading failed for package 'soccermatics'

Maybe the problem is Rtools?

JoGall commented 5 years ago

You need dependency cowplot first:

install.packages("cowplot")

arsc99 commented 5 years ago

Man, you're the best! After that, I had to install several other packages but it's finally working! Thank you so much!

JoGall commented 5 years ago

No worries mate, glad we finally got there! 😀

iambinnie commented 4 years ago

install.packages("ggforce") install.packages("ggrepel") install.packages("xts") are other dependencies that are required to be added. There may be more which I already had installed.