Changelog
Source:NEWS.md
synadam 0.3.4
Documentation
- Add CRAN installation instructions to the README (
install.packages("synadam")), keeping the GitHub install as the development version. - Add a documentation badge and link to the pkgdown site (https://opensource.nibr.com/synadam/) in the README.
synadam 0.3.3
CRAN release: 2026-07-22
Infrastructure
- Add pre-commit hooks for repository hygiene:
check-added-large-files(2 MB cap,--enforce-all) anddetect-private-keyfrompre-commit/pre-commit-hooks(v6.0.0), andcodespell(v2.4.2) for spell-checking.codespellruns with--write-changesand an--ignore-words-listfor domain terms (acn,ths);renv.lockandrelease_github.share excluded to avoid false positives on generated content and shell identifiers. - Fix two spelling typos surfaced by
codespell, inNEWS.mdand a comment inR/glimpse_utils.R.
synadam 0.3.2
Bug fixes
- Fix
generate_study_config()writing unparsable YAML on Windows. Paths were emitted as double-quoted scalars, so backslash sequences in Windows paths (e.g.C:\Users\...) were interpreted as YAML escapes andsimulate_study()failed to read the config. Paths are now single-quoted, which passes backslashes through verbatim.
synadam 0.3.1
Infrastructure
- Add a pkgdown GitHub Actions workflow (
.github/workflows/pkgdown.yaml) that builds the documentation site and deploys it to thegh-pagesbranch, and set the siteurlin_pkgdown.yml. - Add an R-hub v2 GitHub Actions workflow (
.github/workflows/rhub.yaml) for multi-platform CRAN checks, dispatched viarhub::rhub_check().
synadam 0.3.0
Summary
- Split the study workflow into a glimpse phase and a simulate phase: add
glimpse_study()andsimulate_study_from_summary(), allowing the glimpse (which needs the real.sas7bdatfiles) to run independently from simulation. - Fall back to a default seed of 123 when a seed is not set in the study config, and make the seed argument optional in
generate_study_config()(also defaulting to 123). - Add
.assert_required_id_cols()to safeguard against ID leakage. It now errors ifUSUBJID/SUBJIDare present in the data but missing fromid_cols, ensuring subject IDs are regenerated synthetically rather than value-sampled from real data. - Refactor
generate_study_config()to take a requiredoutput_dir(with an optionalconfig_yaml_name), writing the config into that directory alongside where synthetic data will be saved. - Drop the
synadam::/synadam:::syntax to avoid the CRAN self-:::NOTE. - Add runnable roxygen
@examplesacross the exportedglimpse_*/simulate_*functions. Introduce a sharedman-roxygen/setup_adam_datasets.Rtemplate that stages bundled fixtures. - Relocate the MIT license text to
LICENSE.mdand switchLICENSEto theYEAR/COPYRIGHT HOLDERformat, raise the minimum R version to 4.1.0 (native pipe), and extend.Rbuildignore.