NEWS.md

masque 0.16.0

Behaviour changes

New features

Bug fixes

masque 0.15.0

Breaking changes

Documentation

Continuous integration

masque 0.14.1

Documentation

masque 0.14.0

Security

Bug fixes

Minor improvements and fixes

masque 0.13.0

Breaking changes

The recipe gains ladder, conditioning_dropped (in drop order) and conditioning_shifted; the masque_conditional_degraded warning and the recipe print name the shifts. The new vignette What a conditional clone keeps of the design runs eight agridat designs through one stated pass rule under both ladders.

Bug fixes

Features

Testing

masque 0.12.0

Storage is decided before categories, which is the ordering that matters: a column of numbers held as text is not a set of categories, and merging "4.2" into "4.4" because they differ by one character is how an automatic cleaner destroys data. Only columns that remain categorical are considered for merging, and a one-character edit between labels shorter than four characters is ignored.

A pair differing only by capitalisation is one category whatever happens, so it is merged onto the more frequent spelling (on a tie, the one that appeared first). A pair differing by one edit might be two real categories, so it is merged only when one spelling is clearly more common, and refused otherwise.

Bug fixes

This changes the integer codes of an aliased factor, which are now a relabelling, not a copy of the original codes. Code that compared as.integer() of an aliased column against the source should compare the partition instead (recode both by order of first appearance); the incidence structure itself is unchanged.

Features

Testing

Documentation

masque 0.11.0

Breaking changes

Three ways to state otherwise, all unchanged in spelling:

The refusal is the classed condition masque_unmasked_coords.

Bug fixes

masque 0.10.0

Breaking changes

Tables masked by 0.9.2 or earlier carry the old per-row structure. Their coordinate columns assert that observations kilometres apart share a site, and should be treated as invalid for anything spatial until the table is rebuilt under 0.10.0.

The change closes a confidentiality defect as well as a fidelity one. Donut displacement is isotropic, so the mean of many independent draws around one true site converges on that site: averaging the 360 rows of a single trial recovered the true position to a median 0.58 km, against the 5 km floor the donut was asked for. One draw per site removes that estimator and leaves the full displacement in place.

Genuinely point-level input -- every coordinate pair already distinct -- is unaffected by all of the above, and reproduces its 0.9.2 output exactly under the same seed.

New features

Bug fixes

masque 0.9.2

New features

masque 0.9.1

Breaking changes

r detect_design(df, env = FALSE) propose_roles(df, detect = FALSE)

New features

Bug fixes

masque 0.8.2

New features

Minor improvements and fixes

masque 0.8.1

Bug fixes

masque 0.8.0

Safety fix: HIGH leakage findings are never silenced (breaking behaviour)

This release corrects a safety-contract defect in the guided workflow. In 0.5.0 through 0.7.1, masque() and mask_set() wrapped their internal mask() calls in suppressWarnings(), so the HIGH-leakage warning raised by the collaborate-mode audit never reached the caller - and the guided summary could then print sharing language for output the audit had flagged. Generation must never imply release; the behaviour now matches the documentation.

masque 0.7.1

Minor improvements and fixes

masque 0.7.0

A conditional clone mode that preserves the treatment-to-outcome relationship, so a causal model fitted on the synthetic recovers the real treatment effect -- not just the marginal distribution.

New features

The motivation: structural and marginal fidelity alone are not sufficient for causal inference. A clone that matches every marginal and the global covariance can still sever the relationship between an arm and its response, because the outcomes are drawn from the pooled distribution and the treatment labels are relabelled independently. A model fitted on such a clone returns a null effect.

Minor improvements and fixes

masque 0.6.0

A two-axis roles step, a hygiene layer, column-name aliasing, a multi-table set layer, and a single guided verb turn masque into an end-to-end tool for confidential tabular data.

Breaking changes

The guided verb

Two-axis roles (breaking, with an upgrade path)

Multi-table sets

Depth controls

Hygiene

Internal

masque 0.5.0

New feature release: joint-treatment masking plus role-table usability and first-class date handling. mask() and roles_validate() now accept designs with two or more treatment factors (factorial, split-plot trials).

Usability

Masking and recipes

New features

masque 0.4.1

Maintenance release: contract-sharpening corrections plus the documentation and metadata that were prepared for v0.4.0 but not released. No new public exports. The two behaviour changes below are deliberate fail-closed corrections to existing exports; user code that depended on the silent failure mode will need to be updated.

Behaviour: fail-closed corrections

Bug fixes

Documentation

Test suite

masque 0.4.0

Adds first-class geospatial synthesis. One new export, no breaking changes to the v0.3.0 surface.

New export

Motivated by the masque release walkthrough, where state-centroid + uniform-jitter (per-walkthrough recipe) failed to preserve the within-state clustering of real trial sites.

CRAN and r-universe readiness

Documentation

masque 0.3.0

Adds automatic experimental-design detection and a sanity-check visualisation. New public surface: 3 exports, 1 vignette.

New exports

Behaviour change

Design philosophy

Suggests

Limitations

masque 0.2.0

First public release of masque -- a structurally faithful development surrogate for tabular datasets. Successor to the unreleased synthPR v0.1.0 (folder-scanning multi-file API), rewritten around a single-file data-frame-first interface and a round-trippable recipe object.

masque is not an anonymisation or differential-privacy tool. It produces development surrogates suitable for building and debugging pipelines, and a private recipe that re-targets a pipeline built against the synthetic clone back onto the original data. See vignette("confidentiality") for the threat model.

Design

Public API (11 exports)

Synthesis engine

Confidentiality

Documentation

History

Predecessor synthPR v0.1.0 (folder-scanning, multi-file) is archived at _legacy/synthPR_v0.1.0/ in the development workspace and is not distributed.



Try the masque package in your browser

Any scripts or data that you put into this service are public.

masque documentation built on Nov. 19, 2026, 1:06 a.m.