Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function viz_gb_on_period not found #47

Closed
darh78 opened this issue Dec 12, 2017 · 6 comments
Closed

Function viz_gb_on_period not found #47

darh78 opened this issue Dec 12, 2017 · 6 comments

Comments

@darh78
Copy link
Contributor

darh78 commented Dec 12, 2017

Hey Bill,

I'm glad to know my PRs were merged into the master branch.
I've reinstalled the package and I'm able to run the standings_on_date_bref without problems and get the new names on the table.
Nevertheless, the function viz_gb_on_period is not available in the package. I do not know if that is related to the difference in case-sensitive names in the function.
image

Regards.

Daniel.

@BillPetti
Copy link
Owner

Yes, it’s a case issue

@BillPetti
Copy link
Owner

I changed this in the R file. It was trying to export viz_gb_on_period, but the function was viz_GB_on_period. Try a reinstall and let me know if it works.

@darh78
Copy link
Contributor Author

darh78 commented Dec 27, 2017

Hello @BillPetti,

Thanks for the feedback. I tried now and that problem is solved. Nevertheless, there is still an issue when trying to run it. It seems that it's not allowing separate function from "dplyr" to run.
image

@BillPetti
Copy link
Owner

BillPetti commented Dec 27, 2017

I looked this over, a few things:

  • it looks like separate is from tidyr, not dplyr
  • you aren't importing the function, which you should (i.e. @importFrom tidyr separate)
  • I would also default to naming the package explicitly just to make sure you don't run into any issues with multiple functions having the same name (i.e. tidyr::separate)

Can you fix this and then resubmit as a pull request?

@BillPetti BillPetti reopened this Dec 27, 2017
@BillPetti
Copy link
Owner

@darh78 is this something you were going to fix and resubmit a pull request for?

@darh78
Copy link
Contributor Author

darh78 commented Feb 11, 2018

@BillPetti sure!
I just hadn’t the time. I’ll try it this month.
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants