marcoblume / pinnacle.API

R Wrapper for the Pinnacle API
40 stars 13 forks source link

showOddsDF(tableformat = 'wide') #9

Closed arrabella closed 7 years ago

arrabella commented 7 years ago

Hi,

Thank you for providing this wrapper for the Pinnacle API. I tried the following: df <- showOddsDF(29,tableformat = 'wide') And I get this error: Error: Don't know how to convert NULL into a function

All the other table formats work fine.

Thanks

shapenaji commented 7 years ago

Hi arrabella

Reproduced the issue and fixed as of 2.0.6. There was some missing functionality for the wide data format.

Let me know if that works for you and then we'll get it pushed over to CRAN as soon as we can.

arrabella commented 7 years ago

Hi shapenaji,

Thanks very much for the quick fix. Was the change on CRAN already or available in the development version?

Thanks

shapenaji commented 7 years ago

Still in the dev version,

devtools::install.packages('marcoblume/pinnacle.API') for now

arrabella commented 7 years ago

That's great. Thanks for fixing!