-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update documentation #81
Update documentation #81
Conversation
- comments in slice example are preserved
data.R ggplot2_methods.R methods.R plotly_methods.R print_method.R
cleaning R CMD CHECK
nest(data___ = c(!!s_(se)$symbol, !!f_(se)$symbol, value)) %>% | ||
nest(data___ = c(!!s_(se)$symbol, !!f_(se)$symbol, .data$value)) %>% |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the tidy evaluation works without the .data$
Any specific reason you add all those?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the review. The inclusion of .data$
was intended to address the NOTEs raised by R CMD CHECK
regarding undefined global variables. If necessary, I can revert these changes.
@noriakis please have a look to the github actions |
Thank you for the review. For GiHub actions, I am currently looking for a way to resolve WARNINGs. On R 4.3.1, the
|
@HelenaLC maybe knows how to solve this mystery |
NAMESPACE
Outdated
export(bind_cols.RangedSummarizedExperiment) | ||
export(bind_cols.SummarizedExperiment) | ||
export(bind_rows.SummarizedExperiment) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please have a look, if these are present in tidySingleCellExperiment
as well, because they look a bit strange
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it should look like
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello, thank you very much for the prompt reply. I apologize for the commit without the comment.
The warnings above (count, filter, rename, slice) were solved by moving dplyr
to Depends (https://stat.ethz.ch/pipermail/r-devel/2014-June/069247.html), however, in that way, the other warnings that methods lookup cannot find bind_cols
and bind_rows
occurred as below. The additional @export
was the intention to avoid these warnings.
W checking S3 generic/method consistency (5.7s)
Warning: declared S3 method 'bind_cols.RangedSummarizedExperiment' not found
Warning: declared S3 method 'bind_cols.SummarizedExperiment' not found
Warning: declared S3 method 'bind_rows.SummarizedExperiment' not found
See section 'Generic functions and methods' in the 'Writing R
Extensions' manual.
tidyseurat
also has these warnings when checked in R 4.2.3, and tidySingleCellExperiment
also has them as below if I explicitly change R version dependency and check in R 4.2.3, although these warnings will not occur as tidySingleCellExperiment
depends on R >= 4.3.0.
W checking S3 generic/method consistency (7.5s)
Warning: declared S3 method 'bind_cols.SingleCellExperiment' not found
Warning: declared S3 method 'bind_rows.SingleCellExperiment' not found
See section 'Generic functions and methods' in the 'Writing R
Extensions' manual.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say, let's depend on anything tidySCE
depends on, and let's set up the github action from tidySCE
template.
Basically whatever tidySCE
does we do as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I apologize that no checks have been made on BiocCheck
in this PR. Will remove at least errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can check the package locally and then push it. We are getting close!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Just added a runnable example in plotly.Rd
. The commit locally passed BiocCheck
(in 3.18
) without errors (warnings and notes remained, also in tidySCE
). R CMD CHECK (version 4.3.1
) also passes without errors, warnings, and notes, which should pass GitHub actions.
changed R dependency to >= 4.3.0
Congrats! Well done, and thanks! If you feel to contribute more there are so many possibilities. |
Thank you very much for approving the PR and for your guidance! Will update the |
If I'm not wrong, I tagged you in a Documentation |
Sorry for the delay in response and for the unclear description. I meant to say the update of GitHub Actions workflow to be compatible with Also, thank you for mentioning in |
Yes |
Hello, I have updated the documentation of
tidySummarizedExperiment
to be consistent withtidyseurat
andtidySingleCellExperiment
. Currently, R CMD CHECK runs without errors, warnings, or notes.utilities.R
has not been touched for formatting unless it needs to be changed to avoid errors, as it has already been edited.se
object initialization has been added tounite
,separate
,extract
to avoid R CMD CHECK NOTEs.I would be grateful if you could review the changes.