wiscostret / fplscrapR

This package enables those interested in Fantasy Premier League to perform detailed data analysis of the game, using the FPL's JSON API. The fplscrapR functions help R users collect and parse data from the Official Fantasy Premier League website.
Creative Commons Zero v1.0 Universal
76 stars 16 forks source link

Install package #9

Closed davidmcbey closed 4 years ago

davidmcbey commented 4 years ago

I've tried to install fplscrapR using RStudio 1.2.5001 and get the following error message:

install.packages("fplscrapR") Warning in install.packages : package ‘fplscrapR’ is not available (for R version 3.6.1)

Any help appreciated!

davidmcbey commented 4 years ago

nvm - I managed to fix it using this guide and dev tools

wiscostret commented 4 years ago

Oh that's great, thank you. Would you mind sharing the exact steps of your solution, in case anyone else runs into the same problem?

davidmcbey commented 4 years ago

Sure, I think the problem was I wasn't searching for fplscrapR in the correct repository i.e. here on GitHub.

I started by installing Devtools to make it easier to install packages from different repositories:

install.packages("devtools")

Then, I used to devtools to pull fplscrapR from here:

devtools::install_github("wiscostret/fplscrapR")