masque: Structurally Faithful Development Surrogates for Tabular Data

Turns a confidential tabular dataset - a single table, a folder of files, or a multi-sheet workbook - into a structurally faithful synthetic clone suitable for pipeline development. Experimental-design allocation and the NA pattern are preserved exactly; categorical design, treatment, and covariate vocabularies can be reversibly aliased; outcome and numeric-covariate values are re-simulated via a Gaussian copula that preserves the global covariance structure. Columns shared across tables are aliased consistently so the synthetic tables still join. A private recipe object round-trips a pipeline written against the synthetic clone onto the original data. Not a differential-privacy or anonymisation tool: outputs are development surrogates, not public-release-safe artefacts.

Version: 0.16.0
Depends: R (≥ 4.2.0)
Imports: cli, data.table (≥ 1.15.0), digest, Matrix, S7, stats, utils, withr
Suggests: agridat, callr, fst, ggplot2, knitr, maps, readxl, rmarkdown, spelling, testthat (≥ 3.0.0), writexl, yaml
Published: 2026-11-18
DOI: 10.32614/CRAN.package.masque (may not be active yet)
Author: Max Moldovan ORCID iD [aut, cre] (affiliation: Adelaide University)
Maintainer: Max Moldovan <max.moldovan at gmail.com>
BugReports: https://github.com/max578/masque/issues
License: MIT + file LICENSE
URL: https://max578.github.io/masque/, https://github.com/max578/masque
NeedsCompilation: no
Language: en-AU
Citation: masque citation info
Materials: README, NEWS
CRAN checks: masque results

Documentation:

Reference manual: masque.html , masque.pdf
Vignettes: Confidentiality and the threat model (source, R code)
What a conditional clone keeps of the design (source, R code)
Getting started with masque (source, R code)
Recipe anatomy and the round-trip (source, R code)

Downloads:

Package source: masque_0.16.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): masque_0.16.0.tgz, r-oldrel (arm64): masque_0.16.0.tgz, r-release (x86_64): masque_0.16.0.tgz, r-oldrel (x86_64): masque_0.16.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=masque to link to this page.