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

perf:updated functions to pass R-CMD Check: no visible binding for gl… #64

Conversation

valentina-buoro
Copy link
Collaborator

@valentina-buoro valentina-buoro commented Oct 7, 2024

Description

This is PR is a contribution for Outreachy internship. It fixes the warning for
filter_function: no visible binding for global variable 'numeric_column_in_data' in the following functions; lineage.neighbors.plot, lineage_sunburst, make_accnums_unique,make_df_iprscan_domains in #60

What kind of change(s) are included?

  • Feature (adds or updates new capabilities)
  • Bug fix (fixes an issue).
  • Enhancement (adds functionality).
  • Breaking change (these changes would cause existing functionality to not work as expected).

Checklist

Please ensure that all boxes are checked before indicating that this pull request is ready for review.

  • I have read and followed the CONTRIBUTING.md guidelines.
  • I have searched for existing content to ensure this is not a duplicate.
  • I have performed a self-review of these additions (including spelling, grammar, and related).
  • I have deleted all non-relevant text in this pull request template.
  • @jananiravi please review these changes. Thank you

…obal variable for underlisted functions(lineage.neighbors.plot, lineage_sunburst, make_accnums_unique,make_df_iprscan_domain
R/ipr2viz.R Outdated Show resolved Hide resolved
- .data for NSE
- reference internal MolEvolvR pkg data for`iprscan_cols` and `lookup_table_cols`
- add Rd tags for `stats::as.formula()` and `ggplot2::unit()`

Resolves: https://github.com/JRaviLab/MolEvolvR/pull/64/files#r1793916461
R/plotting.R Outdated Show resolved Hide resolved
R/plotting.R Show resolved Hide resolved
Copy link
Collaborator

@the-mayer the-mayer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your contributions to this issue, @valentina-buoro!

I've made a few slight modifications -- please feel free to review at your leisure! Everything I changed was somewhat outside of the scope of the original issue. There are a few related warnings that end up being generated by the R-CMD check.

I'm approving this PR and will merge shortly!

@the-mayer the-mayer merged commit a9e5d9e into JRaviLab:main Oct 9, 2024
1 check passed
@valentina-buoro
Copy link
Collaborator Author

Thank you @the-mayer I'll review the changes that were made.

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

Successfully merging this pull request may close these issues.

2 participants