Skip to contents

r4subdata (development version)

  • Added a second synthetic therapeutic-area example bundle for the CNS (neuroscience) study CNS-2025-001, modelled on a Phase II Alzheimer’s disease trial, so users can demo the full ecosystem on a second study: cns_metadata (ADaM metadata for ADSL, ADQS, ADTTE), cns_evidence (29-row evidence table across all four pillars), risk_register_cns (15-row FMEA register), sdtm_metadata_cns (SDTM metadata for DM, QS, SC), and trace_mapping_cns (ADaM-to-SDTM mapping). Each object mirrors the column/type contract of its oncology counterpart exactly; the bundle is internally consistent (IDs line up across the trace mapping) and round-trips through r4subtrace::build_trace_model(). All values are synthetic and no regulatory reference values are invented. The datasets are documented, covered by dataset_dictionary(), listed by list_datasets() (group "cns"), and guarded by the schema-contract and per-dataset tests.
  • list_datasets() group column now also tags datasets as "cns" (CNS-2025-001).
  • Added validate_dataset(): a structural schema-validation helper that checks a data frame against the column/type schema of a shipped dataset (as defined by dataset_dictionary()) or against a custom dictionary of the same shape. It reports missing columns, unexpected columns, type mismatches, and (in strict mode) column-order differences, and carries a logical valid attribute. It invents no regulatory values, thresholds, or code lists.
  • Added sdtm_metadata_oncology and trace_mapping_oncology: synthetic SDTM metadata (DM, RS, TU) and an ADaM-to-SDTM traceability mapping for the oncology study ONCO-2025-001. They mirror the schemas of sdtm_metadata and trace_mapping, are internally consistent with oncology_metadata, and round-trip through r4subtrace::build_trace_model(). Both are documented, covered by dataset_dictionary(), listed by list_datasets() (group "oncology"), and guarded by the schema-contract test.
  • Added risk_register_oncology: a 15-row FMEA risk register for the synthetic oncology study ONCO-2025-001, mirroring the schema of risk_register_pharma. It is documented, covered by dataset_dictionary(), and listed by list_datasets().
  • list_datasets() now includes a group column tagging each dataset as "pharma" or "oncology".
  • Added a schema-contract test asserting that every documented dataset’s row/column counts and column types match the shipped data.
  • dataset_dictionary() now returns column dictionaries for oncology_metadata and oncology_evidence; previously these two datasets (exported and listed by list_datasets()) raised an “Unknown dataset” error.
  • Fixed stale “R for Regulatory Submission” expansions of “R4SUB” in the dataset documentation and vignette to match the DESCRIPTION (“Ready for Submission”).
  • Corrected the ADaM/SDTM variable counts shown by list_datasets() (36 and 43, matching the actual datasets).

r4subdata 0.1.4

  • Exclude the pkgdown config and site from the build to clear an R CMD check NOTE.

r4subdata 0.1.3

  • Clarified the package DESCRIPTION: “R4SUB” expands to “Ready for Submission” (previously “R for Regulatory Submission”, inconsistent with the rest of the ecosystem).

r4subdata 0.1.2

  • Added oncology_metadata: ADaM variable-level metadata for a synthetic oncology trial (ADSL, ADRS, ADTTE).
  • Added oncology_evidence: 29-row R4SUB evidence table for study ONCO-2025-001, covering all four pillars.

r4subdata 0.1.1

CRAN release: 2026-02-26

  • Fixed version conflict warning on load.
  • Added ORCID to author metadata.

r4subdata 0.1.0

CRAN release: 2026-02-20

  • Initial CRAN release.