FantasyFootballAnalytics / FantasyFootballAnalyticsR

R scripts and data files for the Fantasy Football Analytics website
http://fantasyfootballanalytics.net/
447 stars 1.58k forks source link

Installing Tar package error #27

Closed precedex28 closed 4 years ago

precedex28 commented 7 years ago

had non-zero exit status in Rstudio when installing the tar package

Thanks Scott

isaactpetersen commented 7 years ago

We're not able to replicate. Could you send more info? What other lines of code you ran, output, OS, etc.?

precedex28 commented 7 years ago

Sorry for my late reply and I am sure this is a user error

from Rstudio I keep trying to install using the TAR package..

my code looks like this _install.packages("C:\ffanalytics0.1.6.tar", repos=NULL, type="source")

I get an unspecified lib error which auto corrects and places it in the R library (or at least that is what it states) and finally I get the error below _fanalytics0.1.6.tar’ had non-zero exit status

I appreciate the help

Thanks Scott

On Mon, Jul 25, 2016 at 7:19 PM, dadrivr notifications@github.com wrote:

We're not able to replicate. Could you send more info? What other lines of code you ran, output, OS, etc.?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dadrivr/FantasyFootballAnalyticsR/issues/27#issuecomment-235125937, or mute the thread https://github.com/notifications/unsubscribe-auth/ANn8qIMFQLi9zSSuJMDFsl4yiD6AdI5iks5qZVJ4gaJpZM4JUpg4 .

Scott Taylor Pharm.D. MSc BCPS Informatics Pharmacist

precedex28 commented 7 years ago

I have also tried to install the through using your devtools option.

_devtools::installgithub(repo = "dadrivr/FantasyFootballAnalyticsR", subdir = "R Package/ffanalytics") Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) : there is no package called ‘R6’

Thanks Scott

On Tue, Jul 26, 2016 at 2:01 PM, Scott Taylor precedex28@gmail.com wrote:

Sorry for my late reply and I am sure this is a user error

from Rstudio I keep trying to install using the TAR package..

my code looks like this _install.packages("C:\ffanalytics0.1.6.tar", repos=NULL, type="source")

I get an unspecified lib error which auto corrects and places it in the R library (or at least that is what it states) and finally I get the error below _fanalytics0.1.6.tar’ had non-zero exit status

I appreciate the help

Thanks Scott

On Mon, Jul 25, 2016 at 7:19 PM, dadrivr notifications@github.com wrote:

We're not able to replicate. Could you send more info? What other lines of code you ran, output, OS, etc.?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/dadrivr/FantasyFootballAnalyticsR/issues/27#issuecomment-235125937, or mute the thread https://github.com/notifications/unsubscribe-auth/ANn8qIMFQLi9zSSuJMDFsl4yiD6AdI5iks5qZVJ4gaJpZM4JUpg4 .

Scott Taylor Pharm.D. MSc BCPS Informatics Pharmacist

Scott Taylor Pharm.D. MSc BCPS Informatics Pharmacist

isaactpetersen commented 7 years ago

We're working on a fix. In the meantime, you might try this: http://fantasyfootballanalytics.net/2016/06/ffanalytics-r-package-fantasy-football-data-analysis.html#comment-17673

You'll want to install the package dependencies manually. For a list, see the Installation section of this article: http://fantasyfootballanalytics.net/2016/06/ffanalytics-r-package-fantasy-football-data-analysis.html

precedex28 commented 7 years ago

Hello dadrivr,

I was able to get the add-in to work by reinstalling the dependencies again. I did run a scrape and had several errors several blank data

Retrieving player data Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=0&startIndex=120 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=0&startIndex=160 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=240 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=280 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=320 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=360 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=400 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=320 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=360 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=400 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=440 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=480 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=520 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=6&startIndex=200 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=6&startIndex=240 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=6&startIndex=280 Got more columns in data than number of columns specified by names from http://fantasy.nfl.com/research/projections?position=8&sort=projectedPts&statCatery=projectedStats&statSeason=2016&statType=seasonProjectedStats&offset=1 Removing columns after column 11 Got more columns in data than number of columns specified by names from http://fantasy.nfl.com/research/projections?position=8&sort=projectedPts&statCatery=projectedStats&statSeason=2016&statType=seasonProjectedStats&offset=26 Removing columns after column 11 Got more columns in data than number of columns specified by names from http://www.foxsports.com/fantasy/football/commissioner/Research/Projections.aspx?page=5&position=8&split=3&playerSearchStatus=1 Removing columns after column 14 Got more columns in data than number of columns specified by names from http://www.foxsports.com/fantasy/football/commissioner/Research/Projections.aspx?page=1&position=32768&split=3&playerSearchStatus=1 Removing columns after column 15 Got more columns in data than number of columns specified by names from http://www.foxsports.com/fantasy/football/commissioner/Research/Projections.aspx?page=2&position=32768&split=3&playerSearchStatus=1 Removing columns after column 15 Empty data table retrieved from https://www.fantasypros.com/nfl/projections/qb.php?week=draft Got fewer columns in data than number of columns specified by names from: http://www.eatdrinkandsleepfootball.com/fantasy/projections/2016/qb/ NOTE: Returning empty datasetGot fewer columns in data than number of columns specified by names from: http://www.eatdrinkandsleepfootball.com/fantasy/projections/2016/rb/ NOTE: Returning empty datasetGot fewer columns in data than number of columns specified by names from: http://www.eatdrinkandsleepfootball.com/fantasy/projections/2016/wr/ NOTE: Returning empty datasetGot fewer columns in data than number of columns specified by names from: http://www.eatdrinkandsleepfootball.com/fantasy/projections/2016/te/ NOTE: Returning empty dataset================= Scrape Summary: QB : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, FantasySharks, WalterFootball, FantasyData Failed: FantasyPros, EDS Football RB : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, FantasyPros, FantasySharks, WalterFootball, FantasyData Failed: EDS Football WR : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, FantasyPros, FantasySharks, WalterFootball, FantasyData Failed: EDS Football TE : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, FantasyPros, FantasySharks, WalterFootball, FantasyData Failed: EDS Football K : Successfully: CBS Average, Yahoo Sports, NFL, FOX Sports, FFToday, FantasyPros, FantasySharks, WalterFootball, FantasyData Failed: NA DST : Successfully: CBS Average, Yahoo Sports, NFL, FOX Sports, FFToday, FantasySharks, FantasyData Failed: NA There were 50 or more warnings (use warnings() to see the first 50)

I really appreciate the help and I apologize for all the problems

Scott

isaactpetersen commented 7 years ago

See this link: http://fantasyfootballanalytics.net/2016/06/ffanalytics-r-package-fantasy-football-data-analysis.html#comment-17659

Hope that clarifies!

On Jul 27, 2016, at 5:41 PM, precedex28 notifications@github.com wrote:

Hello dadrivr,

I was able to get the add-in to work by reinstalling the dependencies again. I did run a scrape and had several errors several blank data

Retrieving player data Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=0&startIndex=120 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=0&startIndex=160 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=240 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=280 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=320 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=360 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=2&startIndex=400 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=320 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=360 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=400 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=440 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=480 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=4&startIndex=520 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=6&startIndex=200 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=6&startIndex=240 Empty data table retrieved from http://games.espn.go.com/ffl/tools/projections?&slotCategoryId=6&startIndex=280 Got more columns in data than number of columns specified by names from http://fantasy.nfl.com/research/projections?position=8&sort=projectedPts&statCatery=projectedStats&statSeason=2016&statType=seasonProjectedStats&offset=1 Removing columns after column 11 Got more columns in data than number of columns specified by names from http://fantasy.nfl.com/research/projections?position=8&sort=projectedPts&statCatery=projectedStats&statSeason=2016&statType=seasonProjectedStats&offset=26 Removing columns after column 11 Got more columns in data than number of columns specified by names from http://www.foxsports.com/fantasy/football/commissioner/Research/Projections.aspx?page=5&position=8&split=3&playerSearchStatus=1 Removing columns after column 14 Got more columns in data than number of columns specified by names from http://www.foxsports.com/fantasy/football/commissioner/Research/Projections.aspx?page=1&position=32768&split=3&playerSearchStatus=1 Removing columns after column 15 Got more columns in data than number of columns specified by names from http://www.foxsports.com/fantasy/football/commissioner/Research/Projections.aspx?page=2&position=32768&split=3&playerSearchStatus=1 Removing columns after column 15 Empty data table retrieved from https://www.fantasypros.com/nfl/projections/qb.php?week=draft Got fewer columns in data than number of columns specified by names from: http://www.eatdrinkandsleepfootball.com/fantasy/projections/2016/qb/ NOTE: Returning empty datasetGot fewer columns in data than number of columns specified by names from: http://www.eatdrinkandsleepfootball.com/fantasy/projections/2016/rb/ NOTE: Returning empty datasetGot fewer columns in data than number of columns specified by names from: http://www.eatdrinkandsleepfootball.com/fantasy/projections/2016/wr/ NOTE: Returning empty datasetGot fewer columns in data than number of columns specified by names from: http://www.eatdrinkandsleepfootball.com/fantasy/projections/2016/te/ NOTE: Returning empty dataset================= Scrape Summary: QB : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, FantasySharks, WalterFootball, FantasyData Failed: FantasyPros, EDS Football RB : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, FantasyPros, FantasySharks, WalterFootball, FantasyData Failed: EDS Football WR : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, FantasyPros, FantasySharks, WalterFootball, FantasyData Failed: EDS Football TE : Successfully: CBS Average, Yahoo Sports, ESPN, NFL, FOX Sports, FFToday, FantasyPros, FantasySharks, WalterFootball, FantasyData Failed: EDS Football K : Successfully: CBS Average, Yahoo Sports, NFL, FOX Sports, FFToday, FantasyPros, FantasySharks, WalterFootball, FantasyData Failed: NA DST : Successfully: CBS Average, Yahoo Sports, NFL, FOX Sports, FFToday, FantasySharks, FantasyData Failed: NA There were 50 or more warnings (use warnings() to see the first 50)

I really appreciate the help and I apologize for all the problems

Scott

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

isaactpetersen commented 4 years ago

See the latest version of the app here: https://github.com/FantasyFootballAnalytics/ffanalytics