skoval / deuce

R package for web scraping of tennis data
91 stars 22 forks source link

missing functions in 'in_match_win.R' #7

Closed kvanallen closed 4 years ago

kvanallen commented 4 years ago

There are five functions used in the file 'in_match_win.R' which are not defined anywhere else in the package. I believe they are trying to be used to create a look-up table. They are currently showing up in the check as undocumented code objects and undocumented data sets. Any suggestions how I should go about this? Could they be located locally?

Five functions are:

skoval commented 4 years ago

These objects are internal data that are stored in R/sysdata.Rda. These are intended for use by the in_match_win function and not for use by the user. Hadley Wickham suggested sysdata as an option in this case. What would we need to do for this to be "documented" while still being internally stored?

kvanallen commented 4 years ago

Oh I see now! Thank you. I'll correct the documentation on that and let you know!

kvanallen commented 4 years ago

I think this was a mix-up on my part, I moved it sysdata.Rda back to the R folder and the issue went away!