Skip to content
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

OmicsMLRepoR #3551

Closed
10 tasks done
shbrief opened this issue Sep 15, 2024 · 16 comments
Closed
10 tasks done

OmicsMLRepoR #3551

shbrief opened this issue Sep 15, 2024 · 16 comments
Assignees
Labels
3a. accepted will be ingested into Bioconductor daily builder for distribution OK

Comments

@shbrief
Copy link

shbrief commented Sep 15, 2024

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:

  • The 'devel' branch for new packages and features.
  • The stable 'release' branch, made available every six
    months, for bug fixes.
  • Bioconductor version control using Git
    (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.

@bioc-issue-bot
Copy link
Collaborator

Hi @shbrief

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: OmicsMLRepoR
Type: Package
Title: Search harmonized metadata created under the OmicsMLRepo project
Version: 0.99.0
Date: 2024-9-15
Authors@R: 
    c(person(given = "Sehyun",
   family = "Oh",
   role = c("aut", "cre"),
   email = "shbrief@gmail.com",
   comment = c(ORCID = "0000-0002-9490-3061")),
      person(given = "Kaelyn",
   family = "Long",
   email = "krlong586@gmail.com",
   role = "aut"))
Description: This package provides functions to browse and query the harmonized metadata for large omics databases. This package also supports data navigation if the metadata incorporates ontology. 
Depends: 
    R (>= 4.2.0)
Imports: 
    dplyr, 
    stringr, 
    rols,
    tidyr,
    methods,
    stats,
    tibble,
    data.tree,
    jsonlite,
    plyr,
    BiocFileCache,
    readr,
    DiagrammeR,
    rlang,
    lubridate
Suggests: 
    arrow,
    knitr,
    BiocStyle,
    curatedMetagenomicData,
    testthat (>= 3.0.0),
    cBioPortalData
License: Artistic-2.0
biocViews: Software, Infrastructure, DataRepresentation
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.2
VignetteBuilder: knitr
URL: https://github.com/shbrief/OmicsMLRepoR
BugReports: https://github.com/shbrief/OmicsMLRepoR/issues

@bioc-issue-bot bioc-issue-bot added the 1. awaiting moderation submitted and waiting clearance to access resources label Sep 15, 2024
@lshep lshep added the pre-check passed pre-review performed and ready to be added to git label Sep 23, 2024
@bioc-issue-bot
Copy link
Collaborator

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

@bioc-issue-bot bioc-issue-bot added pre-review on bioconductor git and access to on demand build but not assigned reviewer until build report clean and removed 1. awaiting moderation submitted and waiting clearance to access resources pre-check passed pre-review performed and ready to be added to git labels Sep 24, 2024
@bioc-issue-bot
Copy link
Collaborator

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 24.04.1 LTS): OmicsMLRepoR_0.99.0.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/OmicsMLRepoR to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.

@lshep lshep added 2. review in progress assign a reviewer and a more thorough review of package code and documentation taking place and removed pre-review on bioconductor git and access to on demand build but not assigned reviewer until build report clean labels Sep 26, 2024
@bioc-issue-bot
Copy link
Collaborator

A reviewer has been assigned to your package for an indepth review.
Please respond accordingly to any further comments from the reviewer.

@HelenaLC
Copy link

misc

  • Please update R version dependency from 4.2.0 to 4.4.0.
  • LazyData: should be removed or set to false (see here).
  • Date: field is invalid; see corresponding build report NOTE.
  • Consider adding a NEWS file to keep track of changes, in non-technical language, in the code from one release version to the next.
  • In the README, please add installation instructions using BiocManager::install().

docs

  • Consider adding a package .man/help page (?OmicsMLRepoR) with a description of key functionality, links to key functions etc.
  • Source and providence information on inst/extadata is currently hidden in inst/scripts; please provide a corresponding .man page so users can view these.
  • Vignette- please replace devtools::install_github() installation instructions by ones using BiocManager::install().
  • Vignette- you can hyperlink external packages using BiocStyle::Biocpkg() (or similar, for packages living on CRAN or GitHub).
  • Vignette- please add sessionInfo() output, to be placed at the very end.
  • Vignette- typo in line 94 (dadta > data).
  • Vignette- eval=FALSE flags or similar are not permitted.
  • Vignette- bug in line 234? There's a for-loop iterating through studies, but study <- studies[1] is fixed.

code

  • Please address the NOTEs in the build report...
    • Avoid sapply(); use vapply() (6 instances).
    • Avoid 1:n; use seq_len/along (3 instances).
    • Avoid cat/print outside of show methods (2 instances); you could, e.g., use message() and expose an argument verbose=TRUE/FALSE that let's the user control this (some might want to suppress printing to the console).
  • In ontoTreePlot(), you can use match.arg() to make valid argument choices visible in the documentation, and validate the users input. Also, here's a more concise alternative of the code:
ontoTreePlot <- function(..., display=c("Term", "Text")) {
  display <- match.arg(display)
  ...
  foo <- switch(display, Term=map$term, Text=map$text)
  edgelist <- edgelist_base %>%
      mutate(from = plyr::mapvalues(from, map$id, foo, warn_missing = FALSE)) %>%
      mutate(to = plyr::mapvalues(to, map$id, foo, warn_missing = FALSE))
}

@shbrief
Copy link
Author

shbrief commented Oct 17, 2024

Hi @HelenaLC, I updated the following review points. Let me know if you need anything else. Thanks!

misc

  • Please update R version dependency from 4.2.0 to 4.4.0.
  • LazyData: should be removed or set to false (see here).
  • Date: field is invalid; see corresponding build report NOTE.
  • Consider adding a NEWS file to keep track of changes, in non-technical language, in the code from one release version to the next.
  • In the README, please add installation instructions using BiocManager::install().

docs

  • Consider adding a package .man/help page (?OmicsMLRepoR) with a description of key functionality, links to key functions etc.
  • Source and providence information on inst/extadata is currently hidden in inst/scripts; please provide a corresponding .man page so users can view these.
  • Vignette- please replace devtools::install_github() installation instructions by ones using BiocManager::install().
  • Vignette- you can hyperlink external packages using BiocStyle::Biocpkg() (or similar, for packages living on CRAN or GitHub).
  • Vignette- please add sessionInfo() output, to be placed at the very end.
  • Vignette- typo in line 94 (dadta > data).
  • Vignette- eval=FALSE flags or similar are not permitted.
  • Vignette- bug in line 234? There's a for-loop iterating through studies, but study <- studies[1] is fixed.

code

  • Please address the NOTEs in the build report...

    • Avoid sapply(); use vapply() (6 instances).
    • Avoid 1:n; use seq_len/along (3 instances).
    • Avoid cat/print outside of show methods (2 instances); you could, e.g., use message() and expose an argument verbose=TRUE/FALSE that let's the user control this (some might want to suppress printing to the console).
  • In ontoTreePlot(), you can use match.arg() to make valid argument choices visible in the documentation, and validate the users input. Also, here's a more concise alternative of the code:

ontoTreePlot <- function(..., display=c("Term", "Text")) {
  display <- match.arg(display)
  ...
  foo <- switch(display, Term=map$term, Text=map$text)
  edgelist <- edgelist_base %>%
      mutate(from = plyr::mapvalues(from, map$id, foo, warn_missing = FALSE)) %>%
      mutate(to = plyr::mapvalues(to, map$id, foo, warn_missing = FALSE))
}

@HelenaLC
Copy link

Hm, I can see updates on your GH, however, you need to push changes (with a version bump in the DESCRIPTION) to the (upstream) Bioc branch, which will trigger a new build (and report) that should show up here. Please see here for guidance if that's unclear.

@bioc-issue-bot
Copy link
Collaborator

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

@bioc-issue-bot
Copy link
Collaborator

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 24.04.1 LTS): OmicsMLRepoR_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/OmicsMLRepoR to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.

@bioc-issue-bot bioc-issue-bot added ERROR and removed OK labels Oct 22, 2024
@bioc-issue-bot
Copy link
Collaborator

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

@bioc-issue-bot
Copy link
Collaborator

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 24.04.1 LTS): OmicsMLRepoR_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/OmicsMLRepoR to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.

@bioc-issue-bot bioc-issue-bot added OK and removed ERROR labels Oct 22, 2024
@HelenaLC
Copy link

Super, thanks! Almost there now...

major-ish...

  • example data documentation is still missing (specifically, hidden to the user); please provide corresponding .man pages (see previous comment)
  • similarly, in the vignette, could you please add a comment clarifying where sampleMetadta is coming from? It appears in a code chunk without being previously assigned, and it took me a minute to understand that becomes available with library(curatedMetagenomicData)

very minor...

  • from the build report: "consider adding @importFrom graphics text and @importFrom stats setNames" - I can find the 1st, but roxygen syntax requires a hash-dash (i.e., you have #, but should be #'); can't find the 2nd currently
  • there are still 2 instances of sapply() (utils.R and treatment_columns.R, though the latter is only in inst/)
  • similarly, a couple 1:n left in ancestors.R and mini_cmd.R; nothing major, but would be nice to get in the habit of using seq_len/along() consistently

@bioc-issue-bot
Copy link
Collaborator

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

@bioc-issue-bot
Copy link
Collaborator

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 24.04.1 LTS): OmicsMLRepoR_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/OmicsMLRepoR to trigger a new build.
A quick tutorial for setting up remotes and pushing to upstream can be found here.

@HelenaLC HelenaLC added 3a. accepted will be ingested into Bioconductor daily builder for distribution and removed 2. review in progress assign a reviewer and a more thorough review of package code and documentation taking place labels Oct 23, 2024
@bioc-issue-bot
Copy link
Collaborator

Your package has been accepted. It will be added to the
Bioconductor nightly builds.

Thank you for contributing to Bioconductor!

Reviewers for Bioconductor packages are volunteers from the Bioconductor
community. If you are interested in becoming a Bioconductor package
reviewer, please see Reviewers Expectations.

@lshep
Copy link
Contributor

lshep commented Oct 24, 2024

The default branch of your GitHub repository has been added to Bioconductor's
git repository as branch devel.

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/shbrief.keys is not empty), then no further steps are required. Otherwise, do the following:

  1. Add an SSH key to your github account
  2. Submit your SSH key to Bioconductor

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("OmicsMLRepoR"). The package 'landing page' will be created at

https://bioconductor.org/packages/OmicsMLRepoR

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 lshep closed this as completed Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3a. accepted will be ingested into Bioconductor daily builder for distribution OK
Projects
None yet
Development

No branches or pull requests

4 participants