Skip to contents
Layer Responsibility
Review Studio Corpus mutations, identities, visibility, eligibility, study counts, source-list traversal, locks and history
HTTP transport One explicit origin, personal authentication, bytes/JSON separation, revision and request identifiers
R snapshots Typed stable project/report projections, revision metadata and lossless role-filtered payload
Shiny Session-specific native forms and evidence views using exported R functions
Suite catalogue Distribution, documentation and application-launch registration

rs_projects() returns rs_projects; rs_project_state() returns rs_snapshot. Both inherit rs_result and contain data, metadata and payload. Constructors validate the contract, accessors return non-mutating values, and print methods show counts rather than private content. Project IDs, report IDs and study IDs remain distinct.

Project rows have character id, title, mode, created; numeric revision; logical closed. Report rows have character report, title, doi, pmid, abstract; logical cloud_ok. Zero-row objects retain those column types. Null or inaccessible values do not become zero. Snapshot metadata contains project_id, revision, mode, closure, origin and fetched_at. The complete server response, including state and jobs, remains in rs_payload().

rs_projection() supplies readable collection tables: scalar cells become character, nested cells become JSON and unavailable cells become NA. Empty collections have an id column. It is a display helper; analytical consumers use the original typed payload. A verified-only projection retains current accepted results or assessments.

Each client has an opaque per-client credential handle. Tokens reside only in a private process-local vault and are not serialized into clients, snapshots or app bookmarks. Reconnection is required in a new R process; explicit disconnect and handle finalization delete the credential. There is no global active identity.

All writes use the required application header. Commands and raw uploads require an explicit observed revision and stable request ID. Exact replays retain the same operation/body/key. Writes are never automatically retried; GETs have at most two attempts. Project creation and fork are not idempotent and need manual outcome reconciliation after a lost response. Redirects never forward credentials. HTTP 401, 403, 409, 413 and 422 have separate typed conditions; diagnostic messages exclude private response bodies.

The package does not recompute scientific decisions. Provider suggestions remain advisory. Two accounts in a synthetic software test establish account separation, not independent human appraisal. Computational demonstrations are explicit protocol metadata.

Downloads stage beside their destination, check content type and signature, and rename only after validation. Manifest verification hashes original ZIP bytes and rejects unsafe/duplicated members. Python-canonical event-chain and projection verification is an explicit additional check, not implied by matching file hashes.