statsbomb / open-data

Free football data from StatsBomb

Home Page:https://statsbomb.com/resource-centre/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eager Novice - R

creosc opened this issue · comments

commented

Hello,
I please need help getting started. It seems like R is the recommended path and I am following all instructions from the Statsbomb R ppt and the https://github.com/statsbomb/StatsBombR link. From what I can tell, the only issue I am having is with the StatsbombR package portion. Below is the error message I receive. Do I have to click on any of the packages previously downloaded in order to download this - such devtools? as Any advice will help greatly.

`> devtools::install_github("statsbomb/StatsBombR");
Downloading GitHub repo statsbomb/StatsBombR@master
Downloading git repo https://github.com/cran/SDMTools.git
√ checking for file 'C:\Users\Cris Curis' Surface\AppData\Local\Temp\Rtmp6H80rl\file247833b2144e/DESCRIPTION' (484ms)

  • preparing 'SDMTools': (851ms)
    √ checking DESCRIPTION meta-information ...
  • cleaning src
  • checking for LF line-endings in source and make files and shell scripts (377ms)
  • checking for empty or unneeded directories
  • building 'SDMTools_1.1-221.2.tar.gz'

Installing package into ‘C:/Users/Cris Curis' Surface/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)

  • installing source package 'SDMTools' ...
    ** using staged installation
    ** libs

*** arch - i386
/mingw32/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c ConnectedComponentLabelling.c -o ConnectedComponentLabelling.o
/mingw32/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c getmin.c -o getmin.o
/mingw32/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c movewindow.c -o movewindow.o
/mingw32/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c patchstats.c -o patchstats.o
/mingw32/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c pointinpolygon.c -o pointinpolygon.o
/mingw32/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c slope.aspect.c -o slope.aspect.o
/mingw32/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c vincenty.geodesics.c -o vincenty.geodesics.o
/mingw32/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c writeasciidata.c -o writeasciidata.o
/mingw32/bin/gcc -shared -s -static-libgcc -o SDMTools.dll tmp.def ConnectedComponentLabelling.o getmin.o movewindow.o patchstats.o pointinpolygon.o slope.aspect.o vincenty.geodesics.o writeasciidata.o -LC:/PROGRA1/R/R-401.2/bin/i386 -lR
installing to C:/Users/Cris Curis' Surface/Documents/R/win-library/4.0/00LOCK-SDMTools/00new/SDMTools/libs/i386

*** arch - x64
/mingw64/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c ConnectedComponentLabelling.c -o ConnectedComponentLabelling.o
/mingw64/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c getmin.c -o getmin.o
/mingw64/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c movewindow.c -o movewindow.o
/mingw64/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c patchstats.c -o patchstats.o
/mingw64/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c pointinpolygon.c -o pointinpolygon.o
/mingw64/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c slope.aspect.c -o slope.aspect.o
/mingw64/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c vincenty.geodesics.c -o vincenty.geodesics.o
/mingw64/bin/gcc -I"C:/PROGRA1/R/R-401.2/include" -DNDEBUG -O2 -Wall -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c writeasciidata.c -o writeasciidata.o
/mingw64/bin/gcc -shared -s -static-libgcc -o SDMTools.dll tmp.def ConnectedComponentLabelling.o getmin.o movewindow.o patchstats.o pointinpolygon.o slope.aspect.o vincenty.geodesics.o writeasciidata.o -LC:/PROGRA1/R/R-401.2/bin/x64 -lR
installing to C:/Users/Cris Curis' Surface/Documents/R/win-library/4.0/00LOCK-SDMTools/00new/SDMTools/libs/x64
** R
** byte-compile and prepare package for lazy loading
Error: unexpected symbol in "tools:::makeLazyLoading("SDMTools", 'C:/Users/Cris Curis' Surface"
Execution halted
ERROR: lazy loading failed for package 'SDMTools'

  • removing 'C:/Users/Cris Curis' Surface/Documents/R/win-library/4.0/SDMTools'
    Error: Failed to install 'StatsBombR' from GitHub:
    Failed to install 'unknown package' from Git:
    (converted from warning) installation of package ‘C:/Users/CRISCU~1/AppData/Local/Temp/Rtmp6H80rl/file247837fd279/SDMTools_1.1-221.2.tar.gz’ had non-zero exit status`