-
Notifications
You must be signed in to change notification settings - Fork 33
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
TDbasedUFEadv #2944
Comments
Hi @tagtag Thanks for submitting your package. We are taking a quick The DESCRIPTION file for this package is:
|
On initial testing I am seeing
|
I don't know why I encountered that with R CMD check, but I will assume it will be remedied if it occurs on the build system. I noted many spelling errors in vignettes; perhaps you can use an automated spelling analyzer to deal with this. The QuickStart has |
@vjcitn Thank you very much for your comments. The error did not occur in our system. In the case we cannot correct it, I will ask you. I will check the spelling. I will consider the usage of curatedTCGAData as well as shiny. |
A reviewer has been assigned to your package. Learn what to expect IMPORTANT: Please read this documentation for setting Bioconductor utilized your github ssh-keys for git.bioconductor.org |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on Linux, Mac, and Windows. On one or more platforms, the build results were: "ERROR, skipped". Please see the build report for more details. This link will be active Remember: if you submitted your package after July 7th, 2020, |
@lazappi Although @vjcitn advised me to use curatedTCGAData instead of RTCGA, I found that it is not suitable for us to employ curatedTCGAData. In our vignettes QuickStart, we used all TCGA cancer data set from RTCGA.rnaseq. If we try to do the same by curatedTCGAData, we need to perform |
@lazappi @vjcitn also advised me to use shiny instead of menu. However, I found that bioconductor can only accept shiny as a whole package, not a part of package. |
|
Let's leave curatedTCGAData to one side for now; @LiNk-NY may wish to comment at some point but it is not urgent. This comment in the linked element of contributors.bioconductor.org |
@vjcitn @lazappi Thanks for your valuable comments. Yes, I postpone the comments about curatedTCGA at the moment. As for Shiny, I am waiting for the feedback from you or maintainers to know if menu functions I implemented can be replaced with Shiny apps included in individual packages, not as an independent package that includes only Shiny apps. As for errors, I will check it but I was also asked to check spelling. After spell check I will also address build error (actually speaking, we do not have this errors in our side but I will try to fix it). |
@vjcitn @lazappi Thanks for your valuable comments. Yes, I postpone the comments about curatedTCGA at the moment. As for Shiny, I am waiting for the feedback from you or maintainers to know if menu faunctions can be replaced with Shiny apps included in individual packages, not as an independent package that includes only Shiny apps. As for errors, I will check it but I was also asked to check spelling. After spell check I will also adress build error (actually speaking, we do not have this errors in outr side but I will try to fix it). |
Hi Taguchi, @tagtag I noticed that the Note that The download time would also depend on your connection speed relative to the hosting location. |
@LiNk-NY I know that my code download two assays, (thus in total 69 files), and they can be 33 files. However, even if 33 files are download, it took so long time (It is not lightweighted if we need to download as many as 33 files). I know that it depends upon connection speed, too, but I dislike to use something related to connection speed in my package, but something store data in local PC like RTCGA. I am glad if you can consider the situation here. Is it acceptable? > @vjcitn @lazappi |
The typical use case for
If I may, I think the use of |
@LiNk-NY Thanks. I will mention about it in Vignettes. Since I have used RTCGA only for demonstration purpose in Vignettes, it does not matter that it is an old package. |
Received a valid push on git.bioconductor.org; starting a build for commit id: 2092c836a10f48882c5127c68a74f741a249a2ec |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on Linux, Mac, and Windows. On one or more platforms, the build results were: "WARNINGS, ERROR, skipped". Please see the build report for more details. This link will be active Remember: if you submitted your package after July 7th, 2020, |
Received a valid push on git.bioconductor.org; starting a build for commit id: a886ac19242502cc91fb8de1b84a01d3399ac1a1 |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on Linux, Mac, and Windows. On one or more platforms, the build results were: "WARNINGS, ERROR, skipped". Please see the build report for more details. This link will be active Remember: if you submitted your package after July 7th, 2020, |
The build error caused seems to be due to system errors, not because of my package, since it says
This means that pandoc is missing in the system that tries to build. |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on Linux, Mac, and Windows. On one or more platforms, the build results were: "WARNINGS". Please see the build report for more details. This link will be active Remember: if you submitted your package after July 7th, 2020, |
There are still quite a few normal imports. It is ok if these are unavoidable but I don't think this is the case here. I think some of them ({BiocStyle}, {RTCGA},...) could be made suggested dependencies as they are only used for the vignette/examples, not the core package functionality.
I can't see any changes to the
It's great you added a link to where to get the data but this should also include some information about what the data is, file formats, information it contains, what it is used for etc.
I think this is ok now
I think this is better now, it is clear that one vignette explains the method and the other one explains how to use the package. Just double check you have updated the names everywhere, I think I still saw some references to "Quickstart"
The examples still use
There are still no actual tests here. As you are using the {testthat} package your tests should be wrapped in the
I don't think this makes sense and it is confusing for users to use one of the standard Bioconductor object names without inheriting from that object. It is hard to anticipate what kind of object you might need in the future so I would suggest focusing on what you need now. If you are extending the
I think these are a good start. This can be difficult so it is usually expanded/improved over time.
Some of these could maybe be written using for (i in seq_len(length(Cancer_cell_lines_p)))
{
expDrug <- rbind(expDrug, data.frame(Cancer_cell_lines_p[[i]]))
} Could be written something like (untested so maybe need some adjusting): for (i in seq_len(length(Cancer_cell_lines_p)))
{
expDrug <- rbind(expDrug, data.frame(Cancer_cell_lines_p[[i]]))
}
expDrug <- lapply(seq_along(Cancer_cell_lines_p), function(i) {
data.frame(Cancer_cell_lines_p[[i]])
)
expDrug <- do.call("rbind", expDrug)
As a note, you can use
I think this works much better now! I like that you can just specify a value or use the app to select one based on the plots. I have a few minor suggestions. It would maybe be good to add some text to the app describing what to look for in the plots. It might also be easier if the user could see all the plots at once, at the moment I don't think you can go back if you think an earlier one looked better. Can the user look at the plots separately from the selection app? I think that would also be useful, particularly for things like including them in a report. |
Dear @lazappi ,
I am not sure what you mean. I wrote in testthat.R as library(testthat) test_check("TDbasedUFEadv") and in testthat directory I placed test-TDbasedUFadv.R Thus test-TDbasedUFadv.R should be executed. This structure is similar to others, for example, https://code.bioconductor.org/browse/AlpsNMR/tree/master/tests/ I am glad if you can advise me about what the problem is. Yours, tag. |
Received a valid push on git.bioconductor.org; starting a build for commit id: 5bd8090ee9463ec55be0e796778f4028b2d2c39e |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on Linux, Mac, and Windows. Congratulations! The package built without errors or warnings Please see the build report for more details. This link will be active Remember: if you submitted your package after July 7th, 2020, |
Dear @lazappi , Thanks for your quick and detailed comments. In the below I tried to address your concerns.
I did. RTCGA cannot be moved to suggested, since a function convertTCGA was used in some functions.
I modified it. I hope that it is OK now.
I have added more information.
I am not sure which one you mean, but a mention about "Quickstart" is not for this package, but the previous one, TDbasedUFE.
I am so sorry. Now all require()s are cheged to library().
I have commented here.
I renamed it to
I see.
I have changed this one. I could not find any others that can be removed.
I did.
Although I added one sentence, it does not make sense much, since what should be selected is context dependent. This is the reason why I need an interactive mode. I am not sure if you are satisfied with the present version yet. |
Yes, this is good, thanks! Please keep this up to date as you make changes in the future.
In
Yes, I saw that comment and replied to it. As I said before you need to use the This is the one major point left. If you fix this I think I should be able to accept the package.
There are still a few
I think what you have now is ok, so I am happy with how it is. I do think it could be improved in a few ways though but you can look at that after the package is accepted. |
Dear @lazappi Thanks for your comments, but I still cannot understand the problem in test.
I compare mine with AlpsNMR, for example. In AlpsNMR, tests directory is as For testthat.R AlpsNMR library(testthat) test_check("AlpsNMR") for TDbasedUFEadv library(testthat) test_check("TDbasedUFEadv") This the same again. In testthat directory, for AlpsNMR The only difference is that I have only one file and AlpsNMR has multiple file. What you think the problem is that I have only one file that does not corresponds to individual files in R directory? If so, there is a reason why I could not prepare the files each of which corresponds to individual files in R directory. Please advice me how to solve this difficulty if you mean that I have to have multiple files each of which corresponds to individual files in R directory. If you mean something different please let me know. Although I read the document you listed carefully, I cannot understand the problem at all. Please advise me what to do more practically. |
@lazappi I understand the problem for test. You mean that I have to use test_that{} function in test-TDbasedUFEadv, I think. |
Received a valid push on git.bioconductor.org; starting a build for commit id: 765e042bd39a5b767b14125cc0e57e38f603d5c7 |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on Linux, Mac, and Windows. Congratulations! The package built without errors or warnings Please see the build report for more details. This link will be active Remember: if you submitted your package after July 7th, 2020, |
Dear @lazappi , Thank you very much for you comments. In the bellow, I tied to address your comments,
Done.
I have used test_this() in test-TDbasedUFEadv.
Done. I am not very sure if you are satisfied with this revision. If not, I will try to improve it further. |
I can see that you are using the data(dataset1)
test_that("function 1 works", {
result <- function1(dataset1)
expect_indentical(result, expected_result)
})
test_that("function 2 works", {
output1 <- function1(dataset1)
result <- function2(output1)
expect_indentical(result, expected_result)
}) The problem with adding code outside of The other important thing is that the name of the test (the first text input to the function) is clear so that it is obvious what the test is checking. This is shown in the output if something fails so it is very helpful for knowing which part of the code to look at. |
Received a valid push on git.bioconductor.org; starting a build for commit id: c2d967206da41e9c48ed693528fb443b8e02af43 |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on Linux, Mac, and Windows. Congratulations! The package built without errors or warnings Please see the build report for more details. This link will be active Remember: if you submitted your package after July 7th, 2020, |
Dear @lazappi , Thank you very much for you prompt replies and comments.
I have tried to fragment test_that() so as to correspond to individual functions, but I was also forced to include many "<<-"s which are advised to avoid as much as possible. However, these functions are tightly interrelated, it was impossible to avoid the usage of "<<-"s. Yours, tag. |
Thanks, this is much better! Each test now checks a single thing and it's easy to see what that is. I think you should be able to avoid using My preference would be for this to be addressed but I don't think it is strictly necessary for the package to be accepted so please let me know what you plan to do. |
Received a valid push on git.bioconductor.org; starting a build for commit id: 5efde980d7cc683f3a925614fc9e3e67c27da7ff |
Dear Package contributor, This is the automated single package builder at bioconductor.org. Your package has been built on Linux, Mac, and Windows. Congratulations! The package built without errors or warnings Please see the build report for more details. This link will be active Remember: if you submitted your package after July 7th, 2020, |
Dear @lazappi, Thank you very much for you quick reply.
I have checked one by one the usage of "<<-"s in test because of your advises and erased some of them. I don't think that the remaining (see below) can be either removed or replaced with random numbers since they are class objects that include more than simple numbers. L10 expDrug -> used later in L14 Saving them as pre-computing values is not a good idea either, since they are often huge and might be beyond the individual files size limit of Bioconductor package (5MB). I am glad if you can accept the present version. Yours, tag. |
I will approve the package because there is some testing and I think you have made a big effort to address all my comments. I think you are likely to run into issues with this approach though so I encourage you to look into alternatives. |
Your package has been accepted. It will be added to the Thank you for contributing to Bioconductor! Reviewers for Bioconductor packages are volunteers from the Bioconductor |
Congratulations, {TDbasedUFEadv} has been accepted into Bioconductor 🎉! It can take a few days to be picked up by the build system but then it should be available in Bioconductor devel and the next Bioconductor release. |
Dear @lazappi , Thank you very much for your great efforts to improve my package. I will try to improve this further as much as possible. Yours, tag. |
The default branch of your GitHub repository has been added to Bioconductor's To use the git.bioconductor.org repository, we need an 'ssh' key to associate with your github user name. If your GitHub account already has ssh public keys (https://github.com/tagtag.keys is not empty), then no further steps are required. Otherwise, do the following: See further instructions at https://bioconductor.org/developers/how-to/git/ for working with this repository. See especially https://bioconductor.org/developers/how-to/git/new-package-workflow/ to keep your GitHub and Bioconductor repositories in sync. Your package will be included in the next nigthly 'devel' build (check-out from git at about 6 pm Eastern; build completion around 2pm Eastern the next day) at https://bioconductor.org/checkResults/ (Builds sometimes fail, so ensure that the date stamps on the main landing page are consistent with the addition of your package). Once the package builds successfully, you package will be available for download in the 'Devel' version of Bioconductor using https://bioconductor.org/packages/TDbasedUFEadv If you have any questions, please contact the bioc-devel mailing list (https://stat.ethz.ch/mailman/listinfo/bioc-devel); this issue will not be monitored further. |
@lshep Thank you very much for your very quick job in spite of your very busy schedule during release period! |
Thank you for your contributions to Bioconductor! |
Update the following URL to point to the GitHub repository of
the package you wish to submit to Bioconductor
Confirm the following by editing each check box to '[x]'
I understand that by submitting my package to Bioconductor,
the package source and all review commentary are visible to the
general public.
I have read the Bioconductor Package Submission
instructions. My package is consistent with the Bioconductor
Package Guidelines.
I understand Bioconductor Package Naming Policy and acknowledge
Bioconductor may retain use of package name.
I understand that a minimum requirement for package acceptance
is to pass R CMD check and R CMD BiocCheck with no ERROR or WARNINGS.
Passing these checks does not result in automatic acceptance. The
package will then undergo a formal review and recommendations for
acceptance regarding other Bioconductor standards will be addressed.
My package addresses statistical or bioinformatic issues related
to the analysis and comprehension of high throughput genomic data.
I am committed to the long-term maintenance of my package. This
includes monitoring the support site for issues that users may
have, subscribing to the bioc-devel mailing list to stay aware
of developments in the Bioconductor community, responding promptly
to requests for updates from the Core team in response to changes in
R or underlying software.
I am familiar with the Bioconductor code of conduct and
agree to abide by it.
I am familiar with the essential aspects of Bioconductor software
management, including:
months, for bug fixes.
(optionally via GitHub).
For questions/help about the submission process, including questions about
the output of the automatic reports generated by the SPB (Single Package
Builder), please use the #package-submission channel of our Community Slack.
Follow the link on the home page of the Bioconductor website to sign up.
The text was updated successfully, but these errors were encountered: