Closed selcenari closed 4 years ago
Hello @selcenari - Thank you for making the necessary changes. I have some additional notes before accepting the package. Please see them below.
[ ] REQUIRED: For the NEWS file, thank you for changing to the correct file format. However, the information in the file is not formatted correctly so when I render the NEWS file nothing is shown. Please see https://bioconductor.org/developers/package-guidelines/#news for proper formatting.
[ ] REQUIRED: In the basic_usage vignette, lines 77-82, 88-92, and 100-103 need to be shown to the user (echo = TRUE) or else the user won't be able to reproduce what you have done in lines 111-117.
[ ] REQUIRED: We have our build systems set up in a specific way, as you can see in the details of the build report. This does not include using --no-build-vignettes. We need as much code as possible to be eval = TRUE to insure vignettes are working properly. The major offender of this is the mirtarbase_example vignette as much of this code is set to eval = FALSE. Upon further investigation of the code in the vignette I may have a potential solution to help speed up the build of this vignette. Starting at line 175,
system.time(TCGA_E9_A1N5_mirnagene %>%
priming_graph(competing_count = gene_expression, miRNA_count = total_read))
user system elapsed
3.009 0.410 3.459
This part of the function only about 3.5 seconds to run.
> system.time(TCGA_E9_A1N5_mirnagene %>%
priming_graph(competing_count = gene_expression, miRNA_count = total_read) %>%
update_how(node_name = "HIST1H3H", how = 30))
user system elapsed
3.232 0.605 3.874
Adding the next part of the code only adds about 0.4 of a second. Then the lengthy part of the code...
> system.time(TCGA_E9_A1N5_mirnagene %>%
priming_graph(competing_count = gene_expression, miRNA_count = total_read) %>%
update_how(node_name = "HIST1H3H", how = 30) %>%
simulate(20))
user system elapsed
95.245 10.596 107.258
Every time you call this simulate()
function you are adding about 103 seconds (or almost 2 minutes) of run time. Then in lines 189-193 you repeat the same code. So my thought was to save this chunk of code to a variable so you only do the calculation once, like so:
> tst <- TCGA_E9_A1N5_mirnagene %>%
priming_graph(competing_count = gene_expression, miRNA_count = total_read) %>%
update_how(node_name = "HIST1H3H", how = 30) %>%
simulate(20)
Warning message:
In priming_graph(., competing_count = gene_expression, miRNA_count = total_read) :
First column is processed as competing and the second as miRNA.
> tst %>% find_iteration(plot=TRUE)
> system.time(tst %>% find_iteration(plot=TRUE))
user system elapsed
15.815 0.381 16.402
I would suggest avoid repeating the same code over and over, especially if it takes time to run. Try simplifying code where you can and it may save you some time in the build step (this can be used in any of the vignettes to help speed up the build time as much as possible).
Let me know if you need clarification in any way.
Best, Kayla
Received a valid push; starting a build. Commits are:
894c2c8 Update DESCRIPTION
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: "skipped, TIMEOUT, WARNINGS". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details.
Received a valid push; starting a build. Commits are:
df5f752 Update DESCRIPTION
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: "skipped, TIMEOUT". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details.
Received a valid push; starting a build. Commits are:
a0e1439 version 20
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: "skipped, TIMEOUT". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details.
Received a valid push; starting a build. Commits are:
cd87569 version 21
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: "skipped, TIMEOUT". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details.
Received a valid push; starting a build. Commits are:
4ae1e24 version 22
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: "skipped, TIMEOUT". This may mean there is a problem with the package that you need to fix. Or it may mean that there is a problem with the build system itself.
Please see the build report for more details.
Received a valid push; starting a build. Commits are:
09b2c7a version 23
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 on all platforms.
Please see the build report for more details.
Received a valid push; starting a build. Commits are:
e391044 version 24
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 on all platforms.
Please see the build report for more details.
Hi @Kayla-Morrell ,
Thanks for your review, the changes are shown following:
I have looked at formating of NEWS file. But actually there was nothing wrong in package’s NEWS file. At the same time, i have tried to solve this problem. I have noticed that it could be an Rstudio bug. Because, i encountered Error below, when i ran utils::news(package="example_package")
Error in UseMethod("toHTML") : no applicable method for 'toHTML' applied to an object of class "NULL".
Here you can see the similar problem. I have tried some other methods to solve this problem, but it is non-effective to show news without local changes.
Thanks for the suggestions, it worked great. Two chunks (in auxiliary_commands vignette) includes eval=FALSE, but i shown this as it is only helper command not used as basic steps of the workflow. If you have a suggestion about NEWS file,i can work on it.
Best… Selcen
@selcenari - I rechecked the NEWS file and it seems to be rendering fine now. Thank you for making those changes, everything looks good now and I'd be more than happy to accept the package.
Best, Kayla
Your package has been accepted. It will be added to the Bioconductor Git repository and nightly builds. Additional information will be posed to this issue in the next several days.
Thank you for contributing to Bioconductor!
The master branch of your GitHub repository has been added to Bioconductor's git repository.
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/selcenari.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/ https://bioconductor.org/developers/how-to/git/sync-existing-repositories/
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 BiocManager::install("ceRNAnetsim")
. The package 'landing page' will be created at
https://bioconductor.org/packages/ceRNAnetsim
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.
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]'
[x] I understand that by submitting my package to Bioconductor, the package source and all review commentary are visible to the general public.
[x] I have read the Bioconductor Package Submission instructions. My package is consistent with the Bioconductor Package Guidelines.
[x] 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.
[x] My package addresses statistical or bioinformatic issues related to the analysis and comprehension of high throughput genomic data.
[x] 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 essential aspects of Bioconductor software management, including:
For help with submitting your package, please subscribe and post questions to the bioc-devel mailing list.