beanumber / teamcolors

an R package providing color palettes for pro sports teams
47 stars 13 forks source link

object ‘teamcolors’ is not exported by 'namespace:teamcolors' #30

Closed darh78 closed 1 year ago

darh78 commented 1 year ago

Hello teamcolors contributors,

I'm developing an R package (bbgraphsR) that uses the teamcolors dataframe from your package in one of my functions (viz_standings), but either when running devtools::load_all() or devtools::check(), I receive the following warning:

Warning: object ‘teamcolors’ is not exported by 'namespace:teamcolors'

I indeed checked the NAMESPACE file and it makes sense because there is no line exporting that table.

In that case, can I save the table data and use it in my package? Or is it expected to export that table in the future?

Thanks in advance for your feedback.

Regards.

Daniel.

beanumber commented 1 year ago

Duplicate of https://github.com/cdalzell/Lahman/issues/67#issuecomment-1542391607