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

get_hub2_table(): Change class() to inherits() or is() #35

Closed
Tracked by #65
judith-bourque opened this issue Dec 5, 2022 · 1 comment
Closed
Tracked by #65

get_hub2_table(): Change class() to inherits() or is() #35

judith-bourque opened this issue Dec 5, 2022 · 1 comment
Labels
warning Warning message

Comments

@judith-bourque
Copy link
Member

judith-bourque commented Dec 5, 2022

When devtools::check() is run, the following note appears about clessnverse::get_hub2_table()

❯ checking R code for possible problems ... NOTE
  Found if() conditions comparing class() to string:
  File ‘clessnverse/R/dev_t.R’: if (!is.null(data_filter) && !class(data_filter) == "list" || length(data_filter) == 0) ...
  Use inherits() (or maybe is()) instead.

The line in question is 216 in clessnverse/R/dev_t.R

@judith-bourque judith-bourque added the warning Warning message label Dec 5, 2022
@judith-bourque judith-bourque changed the title Change class() to inherits() or is() get_hub2_table(): Change class() to inherits() or is() Dec 5, 2022
@judith-bourque
Copy link
Member Author

Closing as package no longer actively being developped as of #135.

@judith-bourque judith-bourque closed this as not planned Won't fix, can't repro, duplicate, stale Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
warning Warning message
Projects
None yet
Development

No branches or pull requests

1 participant