Skip to content

chore: migrate test data files from qs to qs2 format (GDR-3351)#74

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

chore: migrate test data files from qs to qs2 format (GDR-3351)#74
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

Migrated all test data binary files from .qs (archived) to .qs2 format.
Files were converted inside the rplatform container via qs::qread() + qs2::qs_save().

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:18
@gladkia gladkia requested review from bczech and j-smola and removed request for a team April 13, 2026 11:18
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 updates the gDRtestData package to version 1.9.2, migrating test data files from the .qs format to .qs2. The changes include updates to the package description, dependencies, and the NEWS.md file. However, the migration appears incomplete as internal logic in R/get_test_datasets.R still references the .qs extension, which will lead to incorrect dataset naming.

Comment thread DESCRIPTION
Date: 2026-04-13
Description: R package with internal dose-response test data. Package provides functions to generate
input testing data that can be used as the input for gDR pipeline. It also contains qs files
input testing data that can be used as the input for gDR pipeline. It also contains qs2 files
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

high

The migration to qs2 appears to be incomplete. While the package description and dependencies have been updated, the utility function get_test_dataset_paths() in R/get_test_datasets.R still contains hardcoded logic for the .qs extension. Specifically, line 37 uses gsub(".qs", "", ...) which will fail to correctly strip the new .qs2 extension, resulting in incorrect dataset names (e.g., 'small2' instead of 'small'). Additionally, the docstring on line 7 of that file still refers to 'qs files'. Please update R/get_test_datasets.R to handle the new file format correctly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

fixed.

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 documentation with devtools::document(). Also, update README.md

@gladkia
Copy link
Copy Markdown
Contributor Author

gladkia commented Apr 16, 2026

Please, update documentation with devtools::document(). Also, update README.md

Done.

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.

What with file synthetic_list.yml and gDRtestData.Rmd?

@gladkia gladkia merged commit 5b60e65 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.

3 participants