robjhyndman / cricketdata

International cricket data for men and women, Tests, ODIs and T20s
http://pkg.robjhyndman.com/cricketdata/
79 stars 21 forks source link

Will not install using dev tools #7

Closed ald0405 closed 2 years ago

ald0405 commented 5 years ago

First gave an error with CMD now giving this

In R CMD INSTALL

Please advise

robjhyndman commented 5 years ago

Yes it does:

> devtools::install_github("ropenscilabs/cricketdata", force=TRUE)
Downloading GitHub repo ropenscilabs/cricketdata@master
✔  checking for file ‘/tmp/Rtmp63Uqji/remotes1eae97ef781/ropenscilabs-cricketdata-1c4c9e1/DESCRIPTION’ ...
─  preparing ‘cricketdata’:
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  building ‘cricketdata_0.0.2.tar.gz’

Installing package into ‘/home/hyndman/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
* installing *source* package ‘cricketdata’ ...
** R
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded
* DONE (cricketdata)

What error message do you get?

ald0405 commented 5 years ago

Hi just seeing this email now. The package is working brilliantly. Though I do have an alternative question now. How can I go about extracting player data for all players involved in this year( and previous years) Pakistan Super League?

Shanmugam031093 commented 3 years ago

devtools::install_github("ropenscilabs/cricketdata") showing this error

complexgenome commented 3 years ago

@Shanmugam031093 I get no errors when using

devtools::install_github("ropenscilabs/cricketdata")

It is perfectly installed on the path desired.

I tested this on

devtools_2.3.0
R v4.0.0