Bioconductor / Contributions

Contribute Packages to Bioconductor
134 stars 33 forks source link

(inactive) acorn #2853

Closed tycheleturner closed 1 year ago

tycheleturner commented 1 year ago

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 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.

bioc-issue-bot commented 1 year ago

Hi @tycheleturner

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: acorn
Type: R Package
Title: This package is a toolkit for working with de novo variants.
Version: 0.99.0
Authors@R: 
    c(person(given = "Tychele",
    family = "Turner",
    role = c("aut", "cre"),
    email = "tychele@wustl.edu",
    comment = c(ORCID = "0000-0001-8246-6477")))
Description: Acorn works with de novo variants (DNVs) already called using a 
    DNV caller (e.g., https://github.com/TNTurnerLab/HAT). The toolkit is useful
    for extracting different types of DNVs and summarizing characteristics of the 
    DNVs.
License: MIT
Depends: R (>= 3.5.0)
Suggests: knitr
VignetteBuilder: knitr
biocViews: Software
biocViews: GenomicVariation
vjcitn commented 1 year ago

fails BiocCheck, multiple biocViews fields in DESCRIPTION; noted on issue at source repo

vjcitn commented 1 year ago

Type: R Package is in DESCRIPTION. This makes R CMD check fail. Please remove that line. Please make biocViews content occupy only one line.

vjcitn commented 1 year ago
* checking examples ... ERROR
Running examples in 'acorn-Ex.R' failed
The error most likely occurred in:

> ### Name: annotateCpG
> ### Title: Annotate the SNVs in the DNV dataset that reside at CpG sites.
> ### Aliases: annotateCpG
> 
> ### ** Examples
> 
> annotateCpG(CpGannotFile)
Error in annotateCpG(CpGannotFile) : object 'CpGannotFile' not found
Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ...
  'hello.Rmd' using 'UTF-8'... OK
 NONE
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

Status: 1 ERROR, 2 WARNINGs, 3 NOTEs
See
  '/home/stvjc/SUBMISSIONS/JAN9/acorn.Rcheck/00check.log'

please run R CMD check on your package before submitting.

tycheleturner commented 1 year ago

Thank you. I fixed the DESCRIPTION file.

I am working on the second one. It seems that loading an rda file, as part of an R function, is not acceptable in a bioconductor package. Is that correct?

vjcitn commented 1 year ago

the typical way to deal with a .rda formatted file x.rda is to place it in the data folder and use data("x") in code to make it available in the session or code

vjcitn commented 1 year ago

it is best to save one named object in the .rda file, with the same name as the file prefix, even though it is possible to save multiple objects in one file.

tycheleturner commented 1 year ago

Okay, I think everything is working well now and the package passes the R CMD CHECK on my end. The repo is up to date on GitHub.

* checking for file ‘./DESCRIPTION’ ... OK
* preparing ‘acorn’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘acorn_0.99.0.tar.gz’

* using log directory ‘/Users/tychele/Documents/Github/acorn/acorn.Rcheck’
* using R version 4.1.0 (2021-05-18)
* using platform: x86_64-apple-darwin17.0 (64-bit)
* using session charset: UTF-8
* checking for file ‘acorn/DESCRIPTION’ ... OK
* this is package ‘acorn’ version ‘0.99.0’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘acorn’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
  ‘hello.Rmd’ using ‘UTF-8’... OK
 NONE
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

Status: OK
vjcitn commented 1 year ago

Making progress. With the latest changes I hit

Running examples in 'acorn-Ex.R' failed
The error most likely occurred in:

> ### Name: calculateDeletionlengths
> ### Title: Calculates the length of the deletions in the DNV object
> ### Aliases: calculateDeletionlengths
> 
> ### ** Examples
> 
> calculateDeletionlengths(DNVobject)
Error in calculateDeletionlengths(DNVobject) : 
  could not find function "calculateDeletionlengths"
Execution halted
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in 'inst/doc' ... OK
* checking running R code from vignettes ...
  'hello.Rmd' using 'UTF-8'... OK

That looks like a spelling error. I don't think you should call your vignette hello.Rmd ... use a meaningful name.

tycheleturner commented 1 year ago

Thank you! All very helpful comments. I have made several changes and it seems to be working now:

$ R CMD BUILD acorn 
* checking for file ‘acorn/DESCRIPTION’ ... OK
* preparing ‘acorn’:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... OK
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building ‘acorn_0.99.0.tar.gz’

$ R CMD CHECK acorn_0.99.0.tar.gz 
* using log directory ‘/Users/tycheleturner/Desktop/acorn.Rcheck’
* using R version 4.1.1 (2021-08-10)
* using platform: x86_64-apple-darwin17.0 (64-bit)
* using session charset: UTF-8
* checking for file ‘acorn/DESCRIPTION’ ... OK
* this is package ‘acorn’ version ‘0.99.0’
* checking package namespace information ... OK
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for executable files ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking for sufficient/correct file permissions ... OK
* checking whether package ‘acorn’ can be installed ... OK
* checking installed package size ... OK
* checking package directory ... OK
* checking ‘build’ directory ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking for left-over files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd metadata ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* checking Rd contents ... OK
* checking for unstated dependencies in examples ... OK
* checking sizes of PDF files under ‘inst/doc’ ... OK
* checking installed files from ‘inst/doc’ ... OK
* checking files in ‘vignettes’ ... OK
* checking examples ... OK
* checking for unstated dependencies in vignettes ... OK
* checking package vignettes in ‘inst/doc’ ... OK
* checking running R code from vignettes ...
  ‘acorn_vignette.Rmd’ using ‘UTF-8’... OK
 NONE
* checking re-building of vignette outputs ... OK
* checking PDF version of manual ... OK
* DONE

Status: OK
vjcitn commented 1 year ago

Run BiocCheck too when you get a chance, to find:

  * ERROR: Maintainer must register at the support site; visit
      https://support.bioconductor.org/accounts/signup/

I am clearing acorn for review.

tycheleturner commented 1 year ago

Great, thank you! I have registered there now.

lshep commented 1 year ago

I'm not able to process this package as there is an ERROR concerning files over 5 Mb in size.

* Checking individual file sizes...
    * WARNING: The following files are over 5MB in size:
      '.git/objects/pack/pack-ade84c5177a4d6353379f9ac440716e8427aa0f4.pack
      releases/acorn_0.99.0.tar.gz'

You should not be storing built tar of the package inside the package itself. Please make sure you run BiocCheck on the package as it would have produce a WARNING about this.

http://contributions.bioconductor.org/git-version-control.html#remove-large-data-files-and-clean-git-tree

tycheleturner commented 1 year ago

Okay, thank you for the update. I have updated the GitHub. After running BiocCheck, the error count is now 0 on my run.

$error character(0)

Please let me know if there are other updates to make to the package. Thanks again.

tycheleturner commented 1 year ago

Hello,

Checking in to see if there's anything else required of me at this time to continue with the Bioconductor process.

Thank you,

Tychele

bioc-issue-bot commented 1 year ago

A reviewer has been assigned to your package. Learn what to expect during the review process.

IMPORTANT: Please read this documentation for setting up remotes to push to git.bioconductor.org. It is required to push a version bump to git.bioconductor.org to trigger a new build.

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

bioc-issue-bot commented 1 year ago

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". 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. This link will be 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/acorn to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

bioc-issue-bot commented 1 year ago

Received a valid push on git.bioconductor.org; starting a build for commit id: 8ba3dfeb5b6671ce45a3e35763f8ec81b3fc3362

bioc-issue-bot commented 1 year ago

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". 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. This link will be 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/acorn to trigger a new build. A quick tutorial for setting up remotes and pushing to upstream can be found here.

tycheleturner commented 1 year ago

Thank you. Will I get a message on here with further follow up items?

lshep commented 1 year ago

Yes general once a reviewer is assign and the package is passing without ERROR a formal review will be posted within 2-3 weeks.

tycheleturner commented 1 year ago

Okay, thank you for the update

LiNk-NY commented 1 year ago

Hi @tycheleturner

Sorry for the delay. Please see the review below. Thank you.

Best, Marcel


acorn #2853

DESCRIPTION

NAMESPACE

vignettes

R

tests

tycheleturner commented 1 year ago

Thank you Marcel,

I have been looking through these items and will let you know if I have questions. Thanks again.

Tychele

lshep commented 1 year ago

@tycheleturner may we expect any updates soon. We like to see updates in 3-4 weeks. If it will take more time we can close for now until you are ready for updates.

tycheleturner commented 1 year ago

I have been going through the comments. One question I have is whether you think this package may be more appropriate for submission to CRAN since it "does not integrate with formal Bioconductor classes"? Please let me know. Thank you.

vjcitn commented 1 year ago

I am sorry to read this question after all the effort that has been put into pre-review and review. I have now had a look at the vignette which does not at this time address the guidelines http://contributions.bioconductor.org/docs.html#vignette-introduction ... and there is no descriptive prose to orient the user on the purpose of the illustrated computations. I think the topic addressed by the package is well-suited for the Bioconductor ecosystem, but more effort will be required to comply with a number of important guidelines noted at contributions.bioconductor.org. If you prefer to distribute via CRAN, just let us know.

tycheleturner commented 1 year ago

Okay, it's okay to close this for now while I continue to work on the package.

bioc-issue-bot commented 1 year ago

This issue is being closed because there has been no progress for an extended period of time. You may reopen the issue when you have the time to actively participate in the review / submission process. Please also keep in mind that a package accepted to Bioconductor requires a commitment on your part to ongoing maintenance.

Thank you for your interest in Bioconductor.