Initial release. It summarizes the development versions 0.0.0.9001 to 0.0.0.9007, whose entries are kept below for reference.
projectData_loaders() declares the loader projectData.Seurat::seurat.
projectData loads the adapter from the manifest on first access; users never
call library(projectData.Seurat). Registration and validation read no matrix
data and need neither SeuratObject nor BPCells. Opening needs both, writes
nothing, never changes the working directory, and reads lazily from the
installed directories (needs_work_dir = FALSE).save_seurat_object() saves a Seurat v5 object whose assay layers are BPCells
MatrixDir matrices into a data package source tree. Each physical directory
is copied once; lazy layers (NormalizeData(), ScaleData()) keep their
queued operations over the shared directory; in-memory layers are retained.
Saving is staged, verified and rolled back on failure; originals are never
modified. Unsupported storage (HDF5, DelayedArray, BPCells in-memory
matrices, v3 assays, spatial images) is refused before anything is written.overwrite = TRUE replaces only a resource this package can show it wrote.write_seurat_manifest() reconciles inst/projectData/manifest.dcf (idempotent;
never deletes files; preserves other adapters' entries).seurat_storage_report() reports logical layers, physical stores and bytes
without reading values.authoring-seurat-data, using-seurat-data, storage).DelayedArray and spatial images are not supported..projectData.Seurat-stage-* directory.all_matrix_inputs() is an experimental
BPCells API. The data package must stay installed while a restored object is in use.Phase 4: release validation. No change to the serializer, the resource layout, the loader or the public API.
tools/, not installed): example-package-roundtrip.R
authors, installs, loads, relocates and re-loads an example data package using
public APIs only (59 checks, run on four dependency stacks); scale-test.R
measures storage, staging and memory at 100,000 to 200,000 cells.test-compressed.R. A backing directory written with
compress = TRUE is copied byte for byte and round-trips with its lazy
operations and shared store intact.setup-r-dependencies'
pandoc pre-check could not resolve the BPCells Remotes entry). The workflows
now install HDF5 and pandoc explicitly. They have not run in this form yet,
so Windows and macOS remain unverified. The second run (commit c45ecc2)
passed on Linux (R 4.6.2 and 4.5.3) and failed on Windows (9 tests) and macOS
(4 tests); all failures were in test code, no package defect was found, and
the tests were adjusted. The third run (2ed093f) passed on all five jobs: Windows (858 expectations, 14 platform skips) and macOS (944).Phase 3: public API review, documentation and user experience. The serializer, the resource layout and the loader are unchanged; existing resources and manifests keep working.
seurat_storage_report(object) reports how many logical layers an
object has, how many physical BPCells directories they read, which layers
share each, and measured file sizes. Read-only: no values are read, no lazy
operation is evaluated. Its columns and the four representation values are
documented.authoring-seurat-data, using-seurat-data and storage
(logical layers vs. physical stores vs. lazy operations, the reproducible
SaveSeuratRds() limitation with tested versions, and the supported /
refused table). The README has a new overview, installation, minimal
examples and a troubleshooting table.save_seurat_object() now lists the side effects and
the condition classes.package_dir, unsupported
storage, unowned resources and datasets, missing or incompatible
dependencies (with install commands), damaged installations, manifest
warnings. An unwritable package directory is reported as
projectData.Seurat_package_dir_error ("write permission") instead of a
failure in the middle of staging. Condition classes are unchanged, except
that this last case is new.test-api.R (signatures, return values, visibility, idempotence),
test-storage-report.R, test-messages.R.inst/examples/demo-package.R builds the throwaway data packages used by the
vignettes.Compatibility release; no change to the resource layout or the public API.
R/compat.R): before saving
or opening, the interfaces the package relies on (all_matrix_inputs() and
its replacement form, the MatrixDir dir slot, the Seurat and StdAssay
slots, Assays(), Reductions(), Images()) are detected, and a missing one
fails with projectData.Seurat_dependency_error naming it, instead of
relying on version limits. On open, every retargeted layer is also compared
with what was read (class, shape, storage kind, queued operations, the exact
directories set), so an upstream change that retargets incorrectly gives an
error naming the layer rather than a wrong object.MatrixMem) that does not exist.
Behavior is unchanged (they are refused); the message and docs now say
that only MatrixDir and ordinary R matrices are supported.%||% was used but only defined in base R >= 4.4; the package declares
R >= 4.1.0. It is now defined internally.test-compat-*.R (stack contract, upstream canaries, a real
multi-assay Seurat workflow compared completely, installation into two
libraries with loads in fresh R processes, read-only and symlinked
libraries, spaces and non-ASCII paths, Windows path rules).PROJECTDATA_SEURAT_REQUIRE_STACK=true turns a missing package or a skipped
integration test into a failure; PROJECTDATA_SEURAT_EXPECT declares the
versions a run must find.tools/compat-libs.R and tools/compat-matrix.R run the suite against
alternative dependency versions; GitHub Actions workflows for R CMD check on
Linux, Windows and macOS and for the matrix were added (not yet executed on
GitHub). See tools/README.md and the compatibility table in README.md.Hardening release; no change to the resource layout or the public API.
backing.dcf, manifest
entry of this loader, recognized placeholder). Unrelated object.rds or
backing.dcf, symbolic links, extra entries and manifest entries that belong
to another loader or disagree are refused with projectData.Seurat_not_owned.file.copy() followed
them), re-checked just before copying and on the copy; sources containing the
package are refused; destinations must stay inside the staged resource.DelayedArray matrices hidden in misc, tools or commands are
refused instead of being stored with dangling paths.layers$values_compared).FindVariableFeatures() fail on a tiny matrix was enlarged.object.rds, backing.dcf, bpcells/<id>/). The
earlier SaveSeuratRds()-based loader path is removed, along with its
dependency on fs: it could not represent lazy layers.save_seurat_object() and write_seurat_manifest(). Storage is inventoried
through BPCells' operation graphs: each physical backing directory is copied
once, lazy operations and shared backing are preserved, nothing is converted.
The saved resource is verified before it is committed, with staging, backup
and rollback.projectData_loaders(): the projectData.Seurat::seurat loader.