Closed samWieczorek closed 1 month ago
Hi @samWieczorek
Thanks for submitting your package. We are taking a quick look at it and you will hear back from us soon.
The DESCRIPTION file for this package is:
Package: Pirat
Type: Package
Title: Precursor or Peptide Imputation under Random Truncation
Description: Pirat enables the imputation of missing values (either MNARs or
MCARs) in bottom-up LC-MS/MS proteomics data using a penalized maximum
likelihood strategy. It does not require any parameter tuning, it models
the instrument censorship from the data available, it accounts for sibling
peptides correlations and it can leverage complementary transcriptomics
measurements.
Version: 0.99.0
Authors@R:
c(person(given = "Lucas",
family = "Etourneau",
email = "lucas.etourneau@univ-grenoble-alpes.fr",
role = c("aut")),
person(given = "Laura",
family = "Fancello",
email = " laura.fancello@cea.fr",
role = c("aut")),
person(given = "Samuel",
family = "Wieczorek",
email = "samuel.wieczorek@cea.fr",
role = c("cre", "aut")),
person(given = "Nelle",
family = "Varoquaux",
email = " nelle.varoquaux@univ-grenoble-alpes.fr",
role = c("aut")),
person(given = "Thomas",
family = "Burger",
email = "thomas.burger@cea.fr",
role = c("aut")))
License: GPL-2
Encoding: UTF-8
biocViews: Proteomics, MassSpectrometry, Preprocessing, Software
RoxygenNote: 7.3.1
BiocViews: Proteomics, MassSpectrometry
Depends:
R (>= 4.4.0)
Imports:
reticulate, progress, ggplot2, MASS, invgamma, grDevices, stats,
graphics, rstudioapi, SummarizedExperiment
Suggests: knitr
VignetteBuilder: knitr
URL: http://www.prostar-proteomics.org/
BugReports: https://github.com/prostarproteomics/Pirat/issues
Thanks for this contribution. Please see https://bioconductor.org/packages/3.19/bioc/html/basilisk.html for the preferred approach to declaring and using python dependencies. I see that you have LBFGS optimization in python source code, and a second python file that uses it via import python.LBFGS
. It would be good to indicate why a scipy optimizer won't do here. You can use reticulate within basilisk to get your sources using source_python
. This would enable you to remove the miniconda installation and the manipulation of RETICULATE_PYTHON from your package. Happy to discuss further.
may we expect updates to address the above concern?
hi
thank you for getting back to me because I hadn't seen your first message and I've just read it. I'll see how I can modify Pirat to simplify installation. Indeed, if I could do without installing miniconda and avoid having to handle RETICULATE_PYTHON, I'd prefer that. I'll keep you posted on this concern.
I was just about to write to you because I have a question about using the set.seed function, which generates a warning when I execute the BiocCheck::BiocCheck('new-package'=TRUE) function.
I use the set.seed function to be able to reproduce exactly the results obtained which are published in an article. It's important for me to be able to continue using it. Is there a solution for keeping it and remaining compliant with Bioconductor?
Thank you for your help
A set seed can be used in examples and vignettes just make sure it is done outside any internal package code. it should be set visibly, before a function is called.
Following your advice, I modified the Pirat code and now use the basilisk package. It's much simpler. All I have to do now is fix the problem with the set.seed() function
Please let us know when it is addressed and we will re-evaluate moving this forward in the process.
Hi, I have fixed this warning with the set.seed() function. Please let me know if i have to do anything else ?
Your package has been added to git.bioconductor.org to continue the pre-review process. A build report will be posted shortly. Please fix any ERROR and WARNING in the build report before a reviewer is assigned or provide a justification on why you feel the ERROR or WARNING should be granted an exception.
IMPORTANT: Please read this documentation for setting up remotes to push to git.bioconductor.org. All changes should be pushed to git.bioconductor.org moving forward. It is required to push a version bump to git.bioconductor.org to trigger a new build report.
Bioconductor utilized your github ssh-keys for git.bioconductor.org access. To manage keys and future access you may want to active your Bioconductor Git Credentials Account
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "skipped, ERROR". 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.
The following are build products from R CMD build on the Single Package Builder: ERROR before build products produced.
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Please fix the ERROR in the build report before the package will move into review.
I have posted a question on the Bioc mailing list but have no answer yet. Here is the question:
As you adviced me, I use the package basilisk
I have followed the instructions of the basilisk package to build mine. Expecially, there are two files named ‘configure’ and ‘configure.win’ which are necessary to install any package which import basilisk.
However, I still have the following build error : ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual' on the Linux OS.
In my local Guithub repository, thoses files have 777 has permissions. And I do not know how to fix this issue.
Do you have any idea ?
It looks like when it was cloned onto git.bioconductor.org it lost execute permissions. I pushed up a change from a local checkout to add execute back and manually kicked off a build. Lets see what the next report says.
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "ERROR". 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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.1.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
make sure you remove any .Rproj files and bump version
Received a valid push on git.bioconductor.org; starting a build for commit id: 58bdb6f28301dd551f1438e58556f00f842ee0e5
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.2.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: f4d4ee0a9739c2d53f5131f5cbe12a982111e5b8
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "ERROR". 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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.3.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: dc6a7a98d0488aeb8dc6a0a67b7ad34d4e5daae9
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "ERROR". 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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.4.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 4b35be30d2e4ab4ff9934d210c09afb146df0349
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "ERROR". 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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.5.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 51b76d0c2f2237001029a6902a1e32e0270808a5
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.6.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 0b7c96cf6d5d3e23ca69ae807a3490a94cde51fa
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.7.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 7e3fd9eac2498cfafcc88f219b7ce5894aec9905
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.4.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 11be7befe78a5d64d3880109a4b92106d2eac698
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "ERROR". 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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.5.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 85f424337cbab3e83f7ba3a0d4124986c668d696
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.6.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 2459e8bffb43fcde805097647ab3c5e73bebbd00
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "ABNORMAL". 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.
The following are build products from R CMD build on the Single Package Builder: : Pirat_0.99.7.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: e2bfd55e62491cb284d8fa534eab98894a714132
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.8.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: b516beb35b26243d622b8a9dabd57653dd40155a
Received a valid push on git.bioconductor.org; starting a build for commit id: 8460ced4c19660d037751730f75526edc27d5d6a
Received a valid push on git.bioconductor.org; starting a build for commit id: 15f1b9c65ea7c7278d73049bf18f860d2a8a366e
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.11.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
A reviewer has been assigned to your package for an indepth review. Please respond accordingly to any further comments from the reviewer.
Received a valid push on git.bioconductor.org; starting a build for commit id: 4d6abfddb0c8954da13f74686fdb80db23ed7a9a
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "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.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.12.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Hi @samWieczorek
Thank you for your submission. Please see the review below and respond to each item for the review to continue.
Best regards, Marcel
Avoid using 1:N notation and use seq_len
or seq
instead in the
"transcriptomic integration" section.
Minor: which
is not needed for subsetting when a logical vector would work
the same, e.g., in "samples-wise correlations" section. If there are NAs, use
na.rm = TRUE
with colSums
, etc.
Minor: Consider wrapping text to a max character limit of 80 columns. It is easier to review and read.
@format
field
in R/doc-data.R
)estimate_gamma()
,
impute_block_llk_reset()
, impute_block_llk_reset_PG()
functions, etc.mcar
is not an override for gamma_1
to be 0 as it is in a
multiple or |
statement. Provide a more accurate description in the
documentation for estimate_gamma
.estimate_psi_df
install_Pirat
to more accurately reflect the intention of the
function.ARG_VALUE_1
does not help the
user.cat
in functions that are not print
or show
methods, e.g.,
in pipeline_llkimpute
.match.arg
in the body of the function, e.g., for extension
argument in
pipeline_llkimpute
, set it to extension = c("a", "b", "c")
. This way the
user can see the full list of options in the usage section of the
documentation.seq_len
or seq
for for
loops; see
get_indexes_embedded_prots
split_large_pg
.basilisk
and reticulate
operate differently yet you use them both.
Can you explain why both are needed?R CMD check NOTE
:* checking R code for possible problems ... NOTE
estimate_gamma: no visible global function definition for ‘lm’
estimate_psi_df: no visible binding for global variable ‘var’
estimate_psi_df: no visible binding for global variable ‘x’
mod_Pirat_server : <anonymous>: no visible global function definition
for ‘observe’
plot_pep_correlations: no visible global function definition for ‘cor’
plot_pep_correlations: no visible binding for global variable ‘group’
remove_NA_pep_reset: no visible global function definition for
‘remove_pep_from_idx’
Undefined global functions or variables:
cor group lm observe remove_pep_from_idx var x
Consider adding
importFrom("stats", "cor", "lm", "var")
to your NAMESPACE file.
.github
folder to .Rbuildignore
> covr::package_coverage(type = "all")
Pirat Coverage: 68.83%
R/mod_Pirat.R: 0.00%
R/reset_data.R: 0.00%
R/split_funcs.R: 48.28%
R/plots.R: 63.46%
R/pirat_utils.R: 82.29%
R/pipeline_impute.R: 92.78%
R/estimate_funcs.R: 93.88%
R/install.R: 100.00%
R/SE.R: 100.00%
R/utils.R: 100.00%
Received a valid push on git.bioconductor.org; starting a build for commit id: 8ca19194aec9a05713bd22b051616e3e83f759bc
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
On one or more platforms, the build results were: "skipped, ERROR". 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.
The following are build products from R CMD build on the Single Package Builder: ERROR before build products produced.
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Received a valid push on git.bioconductor.org; starting a build for commit id: 20328da36f8d7f7efc7ede8d088fdb1dbbb99711
Dear Package contributor,
This is the automated single package builder at bioconductor.org.
Your package has been built on the Bioconductor Single Package Builder.
Congratulations! The package built without errors or warnings on all platforms.
Please see the build report for more details.
The following are build products from R CMD build on the Single Package Builder: Linux (Ubuntu 22.04.3 LTS): Pirat_0.99.14.tar.gz
Links above active for 21 days.
Remember: if you submitted your package after July 7th, 2020,
when making changes to your repository push to
git@git.bioconductor.org:packages/Pirat
to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.
Hi, I've corrected almost half of your comments. The rest are in the hands of a colleague who looks after certain parts of the code in Pirat.
I have 2 questions if I don't manage to fix everything by the time of release: what will the status of the package be?
About your question relative to the use of the reticulate package. I need it for two reasons:
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 Bioconductor Package Naming Policy and acknowledge Bioconductor may retain use of package name.
[ 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.
[x ] 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:
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.