Closed gabrielodom closed 5 years ago
ERRORs
WARNINGs
library()
calls are required to set up the parallel workers, unless I'm completely mistaken.NOTEs
I need to work on the examples and the files sizes next.
I've added examples to some of the functions, but they still want more:
aespca.Rd, CheckAssay.Rd, CheckPwyColl.Rd, CheckSampleIDs.Rd, ControlFDR.Rd, coxTrain_fun.Rd,
CreateOmicsPathway.Rd, ExtractAESPCs.Rd, glmTrain_fun.Rd, GumbelMixpValues.Rd,
IntersectOmicsPwyCollct.Rd, JoinPhenoAssay.Rd, lars.lsa.Rd, mysvd.Rd, olsTrain_fun.Rd,
OptimGumbelMixParams.Rd, pathway_tControl.Rd, pathway_tScores.Rd, PermTestCateg.Rd,
PermTestReg.Rd, PermTestSurv.Rd, permuteSamps.Rd, superpc.st.Rd, superpc.train.Rd,
TabulatepValues.Rd
I think I should start on any function in UpperCamel, as these are (sort-of) user facing.
I've added examples to the AESPCA-related functions: ExtractAESPCs, PermTestCateg, PermTestReg, PermTestSurv, ControlFDR, and TabulatepValues.
The SuperPCA-related functions are OptimGumbelMixParams and GumbelMixpValues. The Omics-object creation functions are CheckAssay.Rd, CheckPwyColl.Rd, CheckSampleIDs.Rd, JoinPhenoAssay and IntersectOmicsPwyCollct
We are down to mostly internal functions now that need examples: aespca.Rd, coxTrain_fun.Rd, CreateOmicsPathway.Rd, glmTrain_fun.Rd, lars.lsa.Rd, mysvd.Rd, olsTrain_fun.Rd, pathway_tControl.Rd, pathway_tScores.Rd, permuteSamps.Rd, superpc.st.Rd, and superpc.train.Rd
We still aren't to 80% yet, which is super annoying. We have aespca.Rd, coxTrain_fun.Rd, glmTrain_fun.Rd, lars.lsa.Rd, mysvd.Rd, olsTrain_fun.Rd, superpc.st.Rd, and superpc.train.Rd left. The only high-level function left without an example is aespca()
, and that's a few layers down.
WARNINGs
library()
calls are required to set up the parallel workers, unless I'm completely mistaken.NOTEs
For Warnings #2 above, instead of saving the entire dataset in the package, in the vignette, we can maybe use R package RTCGA to extract expression values
See an example at http://www.sthda.com/english/articles/24-ggpubr-publication-ready-plots/77-facilitating-exploratory-data-visualization-application-to-tcga-genomic-data/
@lizhongliu1996 will work on WARNING 1. I will finish up my work on NOTE 2 and then work on WARNING 2, using @lxw391's suggestion.
ERRORs from the Bioconductor bot:
ERROR: System Files found that should not be git tracked: pathwayPCA.Rproj ERROR: Running examples in 'pathwayPCA-Ex.R' failed. The error most likely occurred in: Error in optim(par = initialVals, fn = gumbelMixture, gr = gumbelMix_score, : non-finite value supplied by optim Calls: SuperPCA_pVals -> SuperPCA_pVals -> OptimGumbelMixParams -> optim ERROR: Package Source tarball exceeds Bioconductor size requirement. Package Size: 17.8203 MB Size Requirement: 5.0000 MB ERROR: Maintainer must subscribe to the bioc-devel mailing list. Subscribe here: https://stat.ethz.ch/mailman/listinfo/bioc-devel
WARNINGs from the bot:
WARNING: Update R version dependency from 3.5 to 3.6. WARNING: The following files are over 5MB in size: 'inst/extdata/KIRP_RNAseq_WPsubset_20190207.RDS' WARNING: The following files call library or require on pathwayPCA. This is not necessary. R/aesPC_extract_OmicsPath_PCs.R, R/aesPC_permtest_CoxPH.R, R/aesPC_permtest_GLM.R, R/aesPC_permtest_LM.R, R/superPC_wrapper.R
Link to the Bioconductor submission: https://github.com/Bioconductor/Contributions/issues/1000
New Bioconductor build report: http://bioconductor.org/spb_reports/pathwayPCA_buildreport_20190214092513.html
ERRORs: (all OS) ERROR: Maintainer must subscribe to the bioc-devel mailing list. Subscribe here: https://stat.ethz.ch/mailman/listinfo/bioc-devel (Mac & Linux) ERROR: Package Source tarball exceeds Bioconductor size requirement. Package Size: 5.2239 MB; Size Requirement: 5.0000 MB
@lizhongliu1996, is there anything else we can cut? The Supplement2-Importing_Data
vignette is over 5MB as an html file, so maybe start here? There are only two images in this vignette, but maybe we can cut the resolution?
WARNINGs: (Windows & Linux) WARNING: The following files are over 5MB in size: 'inst/doc/Supplement2-Importing_Data.html' (all OS) WARNING: The following files call library or require on pathwayPCA. This is not necessary. R/aesPC_extract_OmicsPath_PCs.R, R/aesPC_permtest_CoxPH.R, R/aesPC_permtest_GLM.R, R/aesPC_permtest_LM.R, R/superPC_wrapper.R
BiocCheck results on Linux workstation
We received confirmation that we were added to the Bioc-Devel mailing list on Tuesday afternoon, 19 February, at 15:36 Eastern. We will make some additional edits to clean up the NOTEs, and trigger a re-build tomorrow.
Updates:
coxTrain_fun
, glmTrain_fun
, olsTrain_fun
, superpc.st
, superpc.train
, mysvd
, and lars.lsa.Rd
.@
in the vignette.Updated BiocCheck output:
We are at WARNINGs only for Bioconductor: http://bioconductor.org/spb_reports/pathwayPCA_buildreport_20190220100348.html
One WARNING and four NOTEs: WARNING: The following files call library or require on pathwayPCA. This is not necessary. R/aesPC_extract_OmicsPath_PCs.R, R/aesPC_permtest_CoxPH.R, R/aesPC_permtest_GLM.R, R/aesPC_permtest_LM.R, R/superPC_wrapper.R NOTE: Recommended function length <= 50 lines. There are 23 functions > 50 lines. NOTE: Consider adding unit tests. We strongly encourage them. NOTE: Consider shorter lines; 396 lines (3%) are > 80 characters long. NOTE: Consider multiples of 4 spaces for line indents, 3552 lines (26%) are not.
Now that we have the Bioconductor team review, we will migrate this issue to Issue #68.
As of 20190201, we have 4 errors, 6 warnings, and 8 notes. pathwayPCA_BiocCheck_out20190201.txt