Skip to content

chore: migrate from qs to qs2 package (GDR-3351)#191

Merged
gladkia merged 5 commits into
mainfrom
GDR-3351
Apr 19, 2026
Merged

chore: migrate from qs to qs2 package (GDR-3351)#191
gladkia merged 5 commits into
mainfrom
GDR-3351

Conversation

@gladkia
Copy link
Copy Markdown
Contributor

@gladkia gladkia commented Apr 13, 2026

Description

What changed?

Related JIRA issue: GDR-3351

Replaced all usage of the archived qs package with qs2:

  • qs::qread()qs2::qs_read()
  • qs::qsave()qs2::qs_save()
  • File extensions updated from .qs to .qs2
  • Dependency in DESCRIPTION updated accordingly
  • Tests and vignettes updated to reflect the new API

Why was it changed?

The qs package was archived on CRAN on January 17, 2026 and will not be included in Bioconductor 3.23.
The qs2 package is its official successor with an incompatible binary format.

Checklist for sustainable code base

  • I added tests for any code changed/added
  • I added documentation for any code changed/added
  • I made sure naming of any new functions is self-explanatory and consistent

Logistic checklist

  • Package version bumped
  • Changelog updated

@gladkia gladkia requested a review from a team as a code owner April 13, 2026 11:19
@gladkia gladkia requested review from bczech and darsoo and removed request for a team April 13, 2026 11:19
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request migrates the gDRcore package from the qs dependency to qs2, which includes updating the package version, dependencies in the DESCRIPTION file, and file extensions for intermediate data storage. The review feedback focuses on improving the robustness of the implementation by ensuring that the availability of the qs2 package is verified before use—since it is a suggested dependency—and by refining the regular expression used for file matching to be more precise and anchored.

Comment thread R/pipeline_helpers.R
Comment thread R/pipeline_helpers.R
Comment thread R/utils.R Outdated
Comment thread R/utils.R
Copy link
Copy Markdown
Contributor

@j-smola j-smola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, update doc with devtools::document().

Update add_intermediate_data, read_intermediate_data , and save_intermediate_data functions description.

What with RUN Rscript -e 'BiocManager::install(c("BiocStyle", "qs"))' in DOCKERFILE?

gladkia added 2 commits April 13, 2026 16:09
- pipeline_helpers.R: update save_intermediate_data and
  read_intermediate_data docstrings from qs to qs2
- utils.R: update add_intermediate_data title from qs to qs2
@gladkia gladkia merged commit b7c7c64 into main Apr 19, 2026
3 of 4 checks passed
@gladkia gladkia deleted the GDR-3351 branch April 19, 2026 06:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants